#D940A4#D940A4

#D940A4 is a light, highly saturated pink. Relative luminance 0.211; OKLCH L 62.3% C 0.213 H 344.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#D940A4
RGBrgb(217, 64, 164)
HSLhsl(321, 67%, 55%)
HSVhsv(321, 71%, 85%)
CMYKcmyk(0%, 70.5%, 24.4%, 14.9%)
CIE-LABlab(53.06, 67.90, -20.78)
CIE-LCHlch(53.06, 71.01, 342.98°)
OKLaboklab(62.35% 0.2052 -0.0553)
OKLCHoklch(62.35% 0.213 344.9)
XYZxyz(37.1510, 21.1027, 37.2315)
Luminance0.2110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D940A4 #40D975
analogous
#C140D9 #D940A4 #D94058
triadic
#D940A4 #A4D940 #40A4D9
tetradic
#D940A4 #D9C140 #40D975 #4058D9
square
#D940A4 #D9C140 #40D975 #4058D9
split-complementary
#D940A4 #58D940 #40D9C1
monochromatic
#841A60 #B72484 #D940A4 #E373BC #EDA6D5

Accessibility & contrast

On white

4.02
#D940A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#D940A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D940A4
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D940A4#FFFFFF#000000##000000
##D940A41.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#526EA7
Deuteranopia (green-blind)
#8088A0
Tritanopia (blue-blind)
#E73E6D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d940a4;
/* rgb */ color: rgb(217, 64, 164);
/* oklch */ color: oklch(62.3% 0.213 344.9);
Tailwind
colors: {
  custom: {
    50: '#e981bf',
    500: '#d940a4',
    950: '#000000',
  },
}
SCSS
$custom: #d940a4;
$custom-light: #e981bf;
$custom-dark: #000000;
JSON
{
  "hex": "#d940a4",
  "rgb": {
    "r": 217,
    "g": 64,
    "b": 164
  },
  "hsl": {
    "h": 320.784,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62346,
    "c": 0.21254,
    "h": 344.9
  },
  "luminance": 0.21099
}

Semantic roles & 50–950 ramp

primary
#D940A4
secondary
#9ADAB1
accent
#EA7A3E
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170B12
muted
#857C81

Preview Lab

Preview with #D940A4

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

Preview Lab → · Contrast checker → · Palette generator →

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