#D045A6#D045A6

#D045A6 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.5% C 0.201 H 342.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#D045A6
RGBrgb(208, 69, 166)
HSLhsl(318, 60%, 54%)
HSVhsv(318, 67%, 82%)
CMYKcmyk(0%, 66.8%, 20.2%, 18.4%)
CIE-LABlab(52.31, 64.02, -23.24)
CIE-LCHlch(52.31, 68.11, 340.05°)
OKLaboklab(61.54% 0.1916 -0.0623)
OKLCHoklch(61.54% 0.201 342)
XYZxyz(35.0245, 20.4227, 38.1664)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045A6 #45D06F
analogous
#B445D0 #D045A6 #D04561
triadic
#D045A6 #A6D045 #45A6D0
tetradic
#D045A6 #D0B445 #45D06F #4561D0
square
#D045A6 #D0B445 #45D06F #4561D0
split-complementary
#D045A6 #61D045 #45D0B4
monochromatic
#7B1F60 #AC2C85 #D045A6 #DC76BD #E9A7D5

Accessibility & contrast

On white

4.13
#D045A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#D045A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045A6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045A6#FFFFFF#000000##000000
##D045A61.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#506EA9
Deuteranopia (green-blind)
#7A85A3
Tritanopia (blue-blind)
#DC476F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d045a6;
/* rgb */ color: rgb(208, 69, 166);
/* oklch */ color: oklch(61.5% 0.201 342.0);
Tailwind
colors: {
  custom: {
    50: '#e283c0',
    500: '#d045a6',
    950: '#000000',
  },
}
SCSS
$custom: #d045a6;
$custom-light: #e283c0;
$custom-dark: #000000;
JSON
{
  "hex": "#d045a6",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 166
  },
  "hsl": {
    "h": 318.129,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61543,
    "c": 0.20145,
    "h": 342
  },
  "luminance": 0.20419
}

Semantic roles & 50–950 ramp

primary
#D045A6
secondary
#9BD6AD
accent
#E37545
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D045A6

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

Preview Lab → · Contrast checker → · Palette generator →

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