#D04FB2#D04FB2

#D04FB2 is a light, vivid pink. Relative luminance 0.222; OKLCH L 63.1% C 0.196 H 337.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#D04FB2
RGBrgb(208, 79, 178)
HSLhsl(314, 58%, 56%)
HSVhsv(314, 62%, 82%)
CMYKcmyk(0%, 62%, 14.4%, 18.4%)
CIE-LABlab(54.26, 61.73, -27.24)
CIE-LCHlch(54.26, 67.47, 336.19°)
OKLaboklab(63.13% 0.1817 -0.0737)
OKLCHoklch(63.13% 0.196 337.9)
XYZxyz(36.8449, 22.2193, 44.4591)
Luminance0.2222 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FB2 #4FD06D
analogous
#AE4FD0 #D04FB2 #D04F72
triadic
#D04FB2 #B2D04F #4FB2D0
tetradic
#D04FB2 #D0AE4F #4FD06D #4F72D0
square
#D04FB2 #D0AE4F #4FD06D #4F72D0
split-complementary
#D04FB2 #72D04F #4FD0AE
monochromatic
#82236C #B23094 #D04FB2 #DD7FC7 #EAB0DC

Accessibility & contrast

On white

3.86
#D04FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#D04FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FB2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FB2#FFFFFF#000000##000000
##D04FB21.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5375B5
Deuteranopia (green-blind)
#7B89AF
Tritanopia (blue-blind)
#DB5479
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d04fb2;
/* rgb */ color: rgb(208, 79, 178);
/* oklch */ color: oklch(63.1% 0.196 337.9);
Tailwind
colors: {
  custom: {
    50: '#e288c9',
    500: '#d04fb2',
    950: '#000000',
  },
}
SCSS
$custom: #d04fb2;
$custom-light: #e288c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fb2",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 313.953,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63131,
    "c": 0.19606,
    "h": 337.9
  },
  "luminance": 0.22216
}

Semantic roles & 50–950 ramp

primary
#D04FB2
secondary
#A3D8AF
accent
#E16B47
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D04FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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