#D045A4#D045A4

#D045A4 is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 61.5% C 0.200 H 342.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#D045A4
RGBrgb(208, 69, 164)
HSLhsl(319, 60%, 54%)
HSVhsv(319, 67%, 82%)
CMYKcmyk(0%, 66.8%, 21.2%, 18.4%)
CIE-LABlab(52.23, 63.75, -22.19)
CIE-LCHlch(52.23, 67.50, 340.81°)
OKLaboklab(61.46% 0.1912 -0.0593)
OKLCHoklch(61.46% 0.2 342.8)
XYZxyz(34.8425, 20.3499, 37.2077)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045A4 #45D071
analogous
#B745D0 #D045A4 #D0455F
triadic
#D045A4 #A4D045 #45A4D0
tetradic
#D045A4 #D0B745 #45D071 #455FD0
square
#D045A4 #D0B745 #45D071 #455FD0
split-complementary
#D045A4 #5FD045 #45D0B7
monochromatic
#7B1F5E #AC2C84 #D045A4 #DC76BC #E9A7D4

Accessibility & contrast

On white

4.14
#D045A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#D045A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045A4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045A4#FFFFFF#000000##000000
##D045A41.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#516EA7
Deuteranopia (green-blind)
#7B85A1
Tritanopia (blue-blind)
#DD466E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d045a4;
/* rgb */ color: rgb(208, 69, 164);
/* oklch */ color: oklch(61.5% 0.200 342.8);
Tailwind
colors: {
  custom: {
    50: '#e283bf',
    500: '#d045a4',
    950: '#000000',
  },
}
SCSS
$custom: #d045a4;
$custom-light: #e283bf;
$custom-dark: #000000;
JSON
{
  "hex": "#d045a4",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 164
  },
  "hsl": {
    "h": 318.993,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61457,
    "c": 0.20019,
    "h": 342.8
  },
  "luminance": 0.20346
}

Semantic roles & 50–950 ramp

primary
#D045A4
secondary
#9BD6AE
accent
#E37745
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D045A4

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

Preview Lab → · Contrast checker → · Palette generator →

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