#D04BA8#D04BA8

#D04BA8 is a light, vivid pink. Relative luminance 0.213; OKLCH L 62.3% C 0.195 H 341.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#D04BA8
RGBrgb(208, 75, 168)
HSLhsl(318, 59%, 55%)
HSVhsv(318, 64%, 82%)
CMYKcmyk(0%, 63.9%, 19.2%, 18.4%)
CIE-LABlab(53.25, 61.93, -22.97)
CIE-LCHlch(53.25, 66.06, 339.65°)
OKLaboklab(62.25% 0.1848 -0.0616)
OKLCHoklch(62.25% 0.195 341.6)
XYZxyz(35.5973, 21.2725, 39.2694)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04BA8 #4BD073
analogous
#B54BD0 #D04BA8 #D04B65
triadic
#D04BA8 #A8D04B #4BA8D0
tetradic
#D04BA8 #D0B54B #4BD073 #4B65D0
square
#D04BA8 #D0B54B #4BD073 #4B65D0
split-complementary
#D04BA8 #65D04B #4BD0B5
monochromatic
#7F2163 #B02E89 #D04BA8 #DD7CBF #E9ACD7

Accessibility & contrast

On white

4.00
#D04BA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#D04BA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04BA8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04BA8#FFFFFF#000000##000000
##D04BA81.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5571AB
Deuteranopia (green-blind)
#7C87A5
Tritanopia (blue-blind)
#DC4D73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d04ba8;
/* rgb */ color: rgb(208, 75, 168);
/* oklch */ color: oklch(62.3% 0.195 341.6);
Tailwind
colors: {
  custom: {
    50: '#e286c2',
    500: '#d04ba8',
    950: '#000000',
  },
}
SCSS
$custom: #d04ba8;
$custom-light: #e286c2;
$custom-dark: #000000;
JSON
{
  "hex": "#d04ba8",
  "rgb": {
    "r": 208,
    "g": 75,
    "b": 168
  },
  "hsl": {
    "h": 318.045,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62254,
    "c": 0.1948,
    "h": 341.6
  },
  "luminance": 0.21269
}

Semantic roles & 50–950 ramp

primary
#D04BA8
secondary
#A0D7B0
accent
#E27546
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D04BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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