#D045A7#D045A7

#D045A7 is a mid, highly saturated pink. Relative luminance 0.205; OKLCH L 61.6% C 0.202 H 341.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#D045A7
RGBrgb(208, 69, 167)
HSLhsl(318, 60%, 54%)
HSVhsv(318, 67%, 82%)
CMYKcmyk(0%, 66.8%, 19.7%, 18.4%)
CIE-LABlab(52.35, 64.16, -23.76)
CIE-LCHlch(52.35, 68.41, 339.68°)
OKLaboklab(61.59% 0.1918 -0.0638)
OKLCHoklch(61.59% 0.202 341.6)
XYZxyz(35.1166, 20.4595, 38.6514)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045A7 #45D06E
analogous
#B445D0 #D045A7 #D04562
triadic
#D045A7 #A7D045 #45A7D0
tetradic
#D045A7 #D0B445 #45D06E #4562D0
square
#D045A7 #D0B445 #45D06E #4562D0
split-complementary
#D045A7 #62D045 #45D0B4
monochromatic
#7B1F60 #AC2C86 #D045A7 #DC76BE #E9A7D5

Accessibility & contrast

On white

4.12
#D045A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#D045A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045A7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045A7#FFFFFF#000000##000000
##D045A71.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#506EAA
Deuteranopia (green-blind)
#7A85A4
Tritanopia (blue-blind)
#DC4770
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d045a7;
/* rgb */ color: rgb(208, 69, 167);
/* oklch */ color: oklch(61.6% 0.202 341.6);
Tailwind
colors: {
  custom: {
    50: '#e283c1',
    500: '#d045a7',
    950: '#000000',
  },
}
SCSS
$custom: #d045a7;
$custom-light: #e283c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d045a7",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 317.698,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61586,
    "c": 0.20209,
    "h": 341.6
  },
  "luminance": 0.20456
}

Semantic roles & 50–950 ramp

primary
#D045A7
secondary
#9BD6AC
accent
#E37445
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D045A7

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

Preview Lab → · Contrast checker → · Palette generator →

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