#D04BAB#D04BAB

#D04BAB is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.4% C 0.197 H 340.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#D04BAB
RGBrgb(208, 75, 171)
HSLhsl(317, 59%, 55%)
HSVhsv(317, 64%, 82%)
CMYKcmyk(0%, 63.9%, 17.8%, 18.4%)
CIE-LABlab(53.37, 62.36, -24.54)
CIE-LCHlch(53.37, 67.01, 338.52°)
OKLaboklab(62.38% 0.1854 -0.066)
OKLCHoklch(62.38% 0.197 340.4)
XYZxyz(35.8800, 21.3856, 40.7583)
Luminance0.2138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04BAB #4BD070
analogous
#B34BD0 #D04BAB #D04B68
triadic
#D04BAB #ABD04B #4BABD0
tetradic
#D04BAB #D0B34B #4BD070 #4B68D0
square
#D04BAB #D0B34B #4BD070 #4B68D0
split-complementary
#D04BAB #68D04B #4BD0B3
monochromatic
#7F2165 #B02E8C #D04BAB #DD7CC2 #E9ACD8

Accessibility & contrast

On white

3.98
#D04BAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#D04BAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04BAB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04BAB#FFFFFF#000000##000000
##D04BAB1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5372AE
Deuteranopia (green-blind)
#7B87A8
Tritanopia (blue-blind)
#DC4E74
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d04bab;
/* rgb */ color: rgb(208, 75, 171);
/* oklch */ color: oklch(62.4% 0.197 340.4);
Tailwind
colors: {
  custom: {
    50: '#e286c4',
    500: '#d04bab',
    950: '#000000',
  },
}
SCSS
$custom: #d04bab;
$custom-light: #e286c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d04bab",
  "rgb": {
    "r": 208,
    "g": 75,
    "b": 171
  },
  "hsl": {
    "h": 316.692,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62384,
    "c": 0.19677,
    "h": 340.4
  },
  "luminance": 0.21382
}

Semantic roles & 50–950 ramp

primary
#D04BAB
secondary
#A0D7AF
accent
#E27146
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #D04BAB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D04BAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva