#D045B8#D045B8

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

Color values

HEX#D045B8
RGBrgb(208, 69, 184)
HSLhsl(310, 60%, 54%)
HSVhsv(310, 67%, 82%)
CMYKcmyk(0%, 66.8%, 11.5%, 18.4%)
CIE-LABlab(53.09, 66.59, -32.54)
CIE-LCHlch(53.09, 74.12, 333.96°)
OKLaboklab(62.37% 0.1943 -0.0887)
OKLCHoklch(62.37% 0.214 335.5)
XYZxyz(36.7927, 21.1299, 47.4788)
Luminance0.2113 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045B8 #45D05D
analogous
#A345D0 #D045B8 #D04573
triadic
#D045B8 #B8D045 #45B8D0
tetradic
#D045B8 #D0A345 #45D05D #4573D0
square
#D045B8 #D0A345 #45D05D #4573D0
split-complementary
#D045B8 #73D045 #45D0A3
monochromatic
#7B1F6B #AC2C96 #D045B8 #DC76CB #E9A7DD

Accessibility & contrast

On white

4.02
#D045B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D045B8#FFFFFF#000000##000000
##D045B81.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4671BB
Deuteranopia (green-blind)
#7486B5
Tritanopia (blue-blind)
#DA4E79
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d045b8;
/* rgb */ color: rgb(208, 69, 184);
/* oklch */ color: oklch(62.4% 0.214 335.5);
Tailwind
colors: {
  custom: {
    50: '#e283cd',
    500: '#d045b8',
    950: '#000000',
  },
}
SCSS
$custom: #d045b8;
$custom-light: #e283cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d045b8",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 310.36,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62366,
    "c": 0.2136,
    "h": 335.5
  },
  "luminance": 0.21127
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D045B8

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

Preview Lab → · Contrast checker → · Palette generator →

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