#D045A9#D045A9

#D045A9 is a mid, highly saturated pink. Relative luminance 0.205; OKLCH L 61.7% C 0.203 H 340.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#D045A9
RGBrgb(208, 69, 169)
HSLhsl(317, 60%, 54%)
HSVhsv(317, 67%, 82%)
CMYKcmyk(0%, 66.8%, 18.8%, 18.4%)
CIE-LABlab(52.44, 64.43, -24.81)
CIE-LCHlch(52.44, 69.04, 338.94°)
OKLaboklab(61.67% 0.1921 -0.0667)
OKLCHoklch(61.67% 0.203 340.9)
XYZxyz(35.3029, 20.5340, 39.6326)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045A9 #45D06C
analogous
#B245D0 #D045A9 #D04563
triadic
#D045A9 #A9D045 #45A9D0
tetradic
#D045A9 #D0B245 #45D06C #4563D0
square
#D045A9 #D0B245 #45D06C #4563D0
split-complementary
#D045A9 #63D045 #45D0B2
monochromatic
#7B1F62 #AC2C88 #D045A9 #DC76C0 #E9A7D6

Accessibility & contrast

On white

4.11
#D045A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#D045A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045A9
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045A9#FFFFFF#000000##000000
##D045A91.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6FAC
Deuteranopia (green-blind)
#7985A6
Tritanopia (blue-blind)
#DC4871
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d045a9;
/* rgb */ color: rgb(208, 69, 169);
/* oklch */ color: oklch(61.7% 0.203 340.9);
Tailwind
colors: {
  custom: {
    50: '#e283c2',
    500: '#d045a9',
    950: '#000000',
  },
}
SCSS
$custom: #d045a9;
$custom-light: #e283c2;
$custom-dark: #000000;
JSON
{
  "hex": "#d045a9",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 169
  },
  "hsl": {
    "h": 316.835,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61674,
    "c": 0.20337,
    "h": 340.9
  },
  "luminance": 0.20531
}

Semantic roles & 50–950 ramp

primary
#D045A9
secondary
#9BD6AB
accent
#E37145
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D045A9

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

Preview Lab → · Contrast checker → · Palette generator →

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