#D045B7#D045B7

#D045B7 is a light, highly saturated pink. Relative luminance 0.211; OKLCH L 62.3% C 0.213 H 335.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#D045B7
RGBrgb(208, 69, 183)
HSLhsl(311, 60%, 54%)
HSVhsv(311, 67%, 82%)
CMYKcmyk(0%, 66.8%, 12%, 18.4%)
CIE-LABlab(53.05, 66.44, -32.03)
CIE-LCHlch(53.05, 73.76, 334.26°)
OKLaboklab(62.32% 0.1942 -0.0872)
OKLCHoklch(62.32% 0.213 335.8)
XYZxyz(36.6882, 21.0882, 46.9287)
Luminance0.2109 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045B7 #45D05E
analogous
#A345D0 #D045B7 #D04572
triadic
#D045B7 #B7D045 #45B7D0
tetradic
#D045B7 #D0A345 #45D05E #4572D0
square
#D045B7 #D0A345 #45D05E #4572D0
split-complementary
#D045B7 #72D045 #45D0A3
monochromatic
#7B1F6B #AC2C95 #D045B7 #DC76CA #E9A7DD

Accessibility & contrast

On white

4.03
#D045B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#D045B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045B7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045B7#FFFFFF#000000##000000
##D045B71.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4671BA
Deuteranopia (green-blind)
#7486B4
Tritanopia (blue-blind)
#DA4E78
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d045b7;
/* rgb */ color: rgb(208, 69, 183);
/* oklch */ color: oklch(62.3% 0.213 335.8);
Tailwind
colors: {
  custom: {
    50: '#e283cd',
    500: '#d045b7',
    950: '#000000',
  },
}
SCSS
$custom: #d045b7;
$custom-light: #e283cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d045b7",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 310.791,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62318,
    "c": 0.21289,
    "h": 335.8
  },
  "luminance": 0.21085
}

Semantic roles & 50–950 ramp

primary
#D045B7
secondary
#9BD6A6
accent
#E36145
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #D045B7

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

Preview Lab → · Contrast checker → · Palette generator →

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