Skip to content

CSS named color

PaleVioletRed #DB7093

PaleVioletRed (CSS keyword palevioletred) has the hex code #DB7093 and the RGB value rgb(219, 112, 147): a medium, moderately saturated pink.

PaleVioletRed#DB7093

A muted rose pink (#db7093), softer than mediumvioletred. It suits vintage and romantic palettes.

Color codes for PaleVioletRed

Color codes for PaleVioletRed
CSS keywordpalevioletred
HEX#DB7093
RGBrgb(219, 112, 147)
HSLhsl(340, 60%, 65%)
HWBhwb(340 44% 14%)
OKLCHoklch(67.8% 0.138 0.7)
CMYK (naive, no ICC profile)cmyk(0%, 49%, 33%, 14%)
Decimal14,381,203
Hue familyPinks

Contrast and accessibility

On palevioletred, black text has a contrast ratio of 6.75:1 and passes AA for normal text; white text reaches 3.11:1.

WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on palevioletred6.75:1PassPassFailPass46.4
White text on palevioletred3.11:1FailPassFailFail−63.1
Palevioletred text on white3.11:1FailPassFailFail57.7
Palevioletred text on black6.75:1PassPassFailPass−44.1

Tints and shades

Each step mixes palevioletred with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, palevioletred, white 25%) in CSS.

Tints (mixed with white)

  1. 5%
    #dd7798
  2. 15%
    #e085a3
  3. 25%
    #e494ae
  4. 35%
    #e8a2b9
  5. 45%
    #ebb0c4
  6. 55%
    #efbfce
  7. 65%
    #f2cdd9
  8. 75%
    #f6dbe4
  9. 85%
    #faeaef
  10. 95%
    #fdf8fa

Shades (mixed with black)

  1. 5%
    #d06a8c
  2. 15%
    #ba5f7d
  3. 25%
    #a4546e
  4. 35%
    #8e4960
  5. 45%
    #783e51
  6. 55%
    #633242
  7. 65%
    #4d2733
  8. 75%
    #371c25
  9. 85%
    #211116
  10. 95%
    #0b0607

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, palevioletred's complementary color is #00B29C (close to lightseagreen), its analogous colors are #C776BF and #E07462, and its triadic partners are #8CA434 and #33A1E4. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#00b29c
Analogous−30°, +30°#c776bf#e07462
Triadic+120°, +240°#8ca434#33a1e4
Split-complementary+150°, +210°#4daf6a#00adc7

Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.

Warm or cool?

PaleVioletRed is a warm color: its hue is 340° on the HSL wheel, in the red, orange and yellow range (0° to about 70°, plus reds above 330°) that is conventionally called warm.

Nearest named and Tailwind colors

Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.

Nearest CSS named colors

Nearest CSS named colors
ColorHEXΔE OK
lightcoral#f080806.8
hotpink#ff69b48.1
indianred#cd5c5c8.2

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
rose-400#ff637e7.5
pink-400#fb64b68.2
red-400#ff64678.5

Code snippets

CSS
.element {
  color: palevioletred;
  background-color: #db7093;
  border-color: rgb(219 112 147);
  outline-color: oklch(67.8% 0.138 0.7);
}
Tailwind CSS
<div class="bg-[#db7093] text-black">...</div>

/* or register it once in your CSS (Tailwind v4) */
@theme {
  --color-palevioletred: #db7093;
}
/* then use bg-palevioletred, text-palevioletred, border-palevioletred */
SwiftUI
import SwiftUI

extension Color {
  static let palevioletred = Color(red: 0.859, green: 0.439, blue: 0.576)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Palevioletred = Color(0xFFDB7093)
Flutter
import 'package:flutter/material.dart';

const palevioletred = Color(0xFFDB7093);
Android XML
<!-- res/values/colors.xml -->
<color name="palevioletred">#DB7093</color>

Frequently asked questions

What is the hex code for palevioletred?
The hex code for palevioletred is #DB7093. The same color is rgb(219, 112, 147), hsl(340, 60%, 65%) and oklch(67.8% 0.138 0.7), and in CSS you can also write the keyword palevioletred directly.
Is palevioletred a warm or cool color?
PaleVioletRed is a warm color: its hue is 340° on the HSL wheel, in the red, orange and yellow range (0° to about 70°, plus reds above 330°) that is conventionally called warm.
What colors go with palevioletred?
Rotating the hue in OKLCH while keeping lightness and chroma, palevioletred's complementary color is #00B29C (close to lightseagreen), its analogous colors are #C776BF and #E07462, and its triadic partners are #8CA434 and #33A1E4. For text on top, black gives the higher contrast.
Can you use white text on palevioletred?
White text on palevioletred has a contrast ratio of 3.11:1, which passes AA only for large text (24 px, or 18.66 px bold, and up) under WCAG 2.2. Black text reaches 6.75:1 and passes AA for normal text but not AAA. In APCA terms that is Lc −63.1 for white and Lc 46.4 for black.
What is the RGB value of palevioletred?
PaleVioletRed is rgb(219, 112, 147): red 219, green 112 and blue 147 on the 0 to 255 scale, or 85.9%, 43.9% and 57.6%. As a decimal integer it is 14381203.

Last reviewed by Arielton Oberek.