#D045B1#D045B1

#D045B1 is a light, highly saturated pink. Relative luminance 0.208; OKLCH L 62.0% C 0.209 H 337.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#D045B1
RGBrgb(208, 69, 177)
HSLhsl(313, 60%, 54%)
HSVhsv(313, 67%, 82%)
CMYKcmyk(0%, 66.8%, 14.9%, 18.4%)
CIE-LABlab(52.78, 65.56, -28.95)
CIE-LCHlch(52.78, 71.67, 336.17°)
OKLaboklab(62.04% 0.1934 -0.0784)
OKLCHoklch(62.04% 0.209 337.9)
XYZxyz(36.0770, 20.8437, 43.7096)
Luminance0.2084 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045B1 #45D064
analogous
#AA45D0 #D045B1 #D0456C
triadic
#D045B1 #B1D045 #45B1D0
tetradic
#D045B1 #D0AA45 #45D064 #456CD0
square
#D045B1 #D0AA45 #45D064 #456CD0
split-complementary
#D045B1 #6CD045 #45D0AA
monochromatic
#7B1F67 #AC2C90 #D045B1 #DC76C5 #E9A7DA

Accessibility & contrast

On white

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

On black

5.17
#D045B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045B1
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045B1#FFFFFF#000000##000000
##D045B11.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B4
Deuteranopia (green-blind)
#7686AE
Tritanopia (blue-blind)
#DB4B75
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d045b1;
/* rgb */ color: rgb(208, 69, 177);
/* oklch */ color: oklch(62.0% 0.209 337.9);
Tailwind
colors: {
  custom: {
    50: '#e283c8',
    500: '#d045b1',
    950: '#000000',
  },
}
SCSS
$custom: #d045b1;
$custom-light: #e283c8;
$custom-dark: #000000;
JSON
{
  "hex": "#d045b1",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 177
  },
  "hsl": {
    "h": 313.381,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62035,
    "c": 0.20871,
    "h": 337.9
  },
  "luminance": 0.2084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D045B1

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

Preview Lab → · Contrast checker → · Palette generator →

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