#D940A0#D940A0

#D940A0 is a light, highly saturated pink. Relative luminance 0.210; OKLCH L 62.2% C 0.210 H 346.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#D940A0
RGBrgb(217, 64, 160)
HSLhsl(322, 67%, 55%)
HSVhsv(322, 71%, 85%)
CMYKcmyk(0%, 70.5%, 26.3%, 14.9%)
CIE-LABlab(52.91, 67.40, -18.67)
CIE-LCHlch(52.91, 69.94, 344.52°)
OKLaboklab(62.18% 0.2044 -0.0494)
OKLCHoklch(62.18% 0.21 346.4)
XYZxyz(36.7954, 20.9605, 35.3589)
Luminance0.2096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D940A0 #40D979
analogous
#C540D9 #D940A0 #D94053
triadic
#D940A0 #A0D940 #40A0D9
tetradic
#D940A0 #D9C540 #40D979 #4053D9
square
#D940A0 #D9C540 #40D979 #4053D9
split-complementary
#D940A0 #53D940 #40D9C5
monochromatic
#841A5D #B72481 #D940A0 #E373B9 #EDA6D3

Accessibility & contrast

On white

4.05
#D940A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#D940A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D940A0
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D940A0#FFFFFF#000000##000000
##D940A01.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#546EA3
Deuteranopia (green-blind)
#81889C
Tritanopia (blue-blind)
#E83C6A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d940a0;
/* rgb */ color: rgb(217, 64, 160);
/* oklch */ color: oklch(62.2% 0.210 346.4);
Tailwind
colors: {
  custom: {
    50: '#e981bc',
    500: '#d940a0',
    950: '#000000',
  },
}
SCSS
$custom: #d940a0;
$custom-light: #e981bc;
$custom-dark: #000000;
JSON
{
  "hex": "#d940a0",
  "rgb": {
    "r": 217,
    "g": 64,
    "b": 160
  },
  "hsl": {
    "h": 322.353,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62182,
    "c": 0.21028,
    "h": 346.4
  },
  "luminance": 0.20957
}

Semantic roles & 50–950 ramp

primary
#D940A0
secondary
#9ADAB2
accent
#EA7E3E
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#170B12
muted
#857C81

Preview Lab

Preview with #D940A0

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

Preview Lab → · Contrast checker → · Palette generator →

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