#D045B9#D045B9

#D045B9 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.4% C 0.214 H 335.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#D045B9
RGBrgb(208, 69, 185)
HSLhsl(310, 60%, 54%)
HSVhsv(310, 67%, 82%)
CMYKcmyk(0%, 66.8%, 11.1%, 18.4%)
CIE-LABlab(53.14, 66.74, -33.05)
CIE-LCHlch(53.14, 74.47, 333.66°)
OKLaboklab(62.41% 0.1945 -0.0901)
OKLCHoklch(62.41% 0.214 335.1)
XYZxyz(36.8979, 21.1720, 48.0328)
Luminance0.2117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045B9 #45D05C
analogous
#A245D0 #D045B9 #D04574
triadic
#D045B9 #B9D045 #45B9D0
tetradic
#D045B9 #D0A245 #45D05C #4574D0
square
#D045B9 #D0A245 #45D05C #4574D0
split-complementary
#D045B9 #74D045 #45D0A2
monochromatic
#7B1F6C #AC2C97 #D045B9 #DC76CB #E9A7DE

Accessibility & contrast

On white

4.01
#D045B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#D045B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045B9
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045B9#FFFFFF#000000##000000
##D045B91.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4572BC
Deuteranopia (green-blind)
#7386B6
Tritanopia (blue-blind)
#DA4F79
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d045b9;
/* rgb */ color: rgb(208, 69, 185);
/* oklch */ color: oklch(62.4% 0.214 335.1);
Tailwind
colors: {
  custom: {
    50: '#e283ce',
    500: '#d045b9',
    950: '#000000',
  },
}
SCSS
$custom: #d045b9;
$custom-light: #e283ce;
$custom-dark: #000000;
JSON
{
  "hex": "#d045b9",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 185
  },
  "hsl": {
    "h": 309.928,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62414,
    "c": 0.21432,
    "h": 335.1
  },
  "luminance": 0.21169
}

Semantic roles & 50–950 ramp

primary
#D045B9
secondary
#9BD6A5
accent
#E35F45
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #D045B9

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

Preview Lab → · Contrast checker → · Palette generator →

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