#D045B2#D045B2

#D045B2 is a light, highly saturated pink. Relative luminance 0.209; OKLCH L 62.1% C 0.209 H 337.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#D045B2
RGBrgb(208, 69, 178)
HSLhsl(313, 60%, 54%)
HSVhsv(313, 67%, 82%)
CMYKcmyk(0%, 66.8%, 14.4%, 18.4%)
CIE-LABlab(52.82, 65.71, -29.47)
CIE-LCHlch(52.82, 72.01, 335.84°)
OKLaboklab(62.08% 0.1936 -0.0799)
OKLCHoklch(62.08% 0.209 337.6)
XYZxyz(36.1771, 20.8837, 44.2365)
Luminance0.2088 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045B2 #45D063
analogous
#A945D0 #D045B2 #D0456C
triadic
#D045B2 #B2D045 #45B2D0
tetradic
#D045B2 #D0A945 #45D063 #456CD0
square
#D045B2 #D0A945 #45D063 #456CD0
split-complementary
#D045B2 #6CD045 #45D0A9
monochromatic
#7B1F68 #AC2C90 #D045B2 #DC76C6 #E9A7DA

Accessibility & contrast

On white

4.06
#D045B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#D045B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045B2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045B2#FFFFFF#000000##000000
##D045B21.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#7686AF
Tritanopia (blue-blind)
#DB4C75
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d045b2;
/* rgb */ color: rgb(208, 69, 178);
/* oklch */ color: oklch(62.1% 0.209 337.6);
Tailwind
colors: {
  custom: {
    50: '#e283c9',
    500: '#d045b2',
    950: '#000000',
  },
}
SCSS
$custom: #d045b2;
$custom-light: #e283c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d045b2",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 312.95,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62082,
    "c": 0.2094,
    "h": 337.6
  },
  "luminance": 0.2088
}

Semantic roles & 50–950 ramp

primary
#D045B2
secondary
#9BD6A8
accent
#E36745
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D045B2

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

Preview Lab → · Contrast checker → · Palette generator →

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