#D237A9#D237A9

#D237A9 is a mid, highly saturated pink. Relative luminance 0.193; OKLCH L 60.7% C 0.221 H 340.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#D237A9
RGBrgb(210, 55, 169)
HSLhsl(316, 63%, 52%)
HSVhsv(316, 74%, 82%)
CMYKcmyk(0%, 73.8%, 19.5%, 17.6%)
CIE-LABlab(51.04, 69.79, -26.94)
CIE-LCHlch(51.04, 74.81, 338.89°)
OKLaboklab(60.72% 0.2088 -0.0726)
OKLCHoklch(60.72% 0.221 340.8)
XYZxyz(35.1070, 19.3021, 39.4052)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D237A9 #37D260
analogous
#AE37D2 #D237A9 #D2375C
triadic
#D237A9 #A9D237 #37A9D2
tetradic
#D237A9 #D2AE37 #37D260 #375CD2
square
#D237A9 #D2AE37 #37D260 #375CD2
split-complementary
#D237A9 #5CD237 #37D2AE
monochromatic
#741A5D #A62584 #D237A9 #DD69BE #E89BD4

Accessibility & contrast

On white

4.32
#D237A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#D237A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D237A9
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D237A9#FFFFFF#000000##000000
##D237A91.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#446AAC
Deuteranopia (green-blind)
#7582A5
Tritanopia (blue-blind)
#DF3B6C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d237a9;
/* rgb */ color: rgb(210, 55, 169);
/* oklch */ color: oklch(60.7% 0.221 340.8);
Tailwind
colors: {
  custom: {
    50: '#e47dc3',
    500: '#d237a9',
    950: '#000000',
  },
}
SCSS
$custom: #d237a9;
$custom-light: #e47dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#d237a9",
  "rgb": {
    "r": 210,
    "g": 55,
    "b": 169
  },
  "hsl": {
    "h": 315.871,
    "s": 63.265,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60721,
    "c": 0.22101,
    "h": 340.8
  },
  "luminance": 0.19299
}

Semantic roles & 50–950 ramp

primary
#D237A9
secondary
#90D4A2
accent
#E66D41
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #D237A9

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

Preview Lab → · Contrast checker → · Palette generator →

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