#D237A4#D237A4

#D237A4 is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.5% C 0.218 H 342.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#D237A4
RGBrgb(210, 55, 164)
HSLhsl(318, 63%, 52%)
HSVhsv(318, 74%, 82%)
CMYKcmyk(0%, 73.8%, 21.9%, 17.6%)
CIE-LABlab(50.82, 69.13, -24.33)
CIE-LCHlch(50.82, 73.29, 340.62°)
OKLaboklab(60.5% 0.208 -0.0652)
OKLCHoklch(60.5% 0.218 342.6)
XYZxyz(34.6466, 19.1179, 36.9803)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D237A4 #37D265
analogous
#B237D2 #D237A4 #D23757
triadic
#D237A4 #A4D237 #37A4D2
tetradic
#D237A4 #D2B237 #37D265 #3757D2
square
#D237A4 #D2B237 #37D265 #3757D2
split-complementary
#D237A4 #57D237 #37D2B2
monochromatic
#741A5A #A62580 #D237A4 #DD69BB #E89BD1

Accessibility & contrast

On white

4.35
#D237A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#D237A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D237A4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D237A4#FFFFFF#000000##000000
##D237A41.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4769A7
Deuteranopia (green-blind)
#7782A0
Tritanopia (blue-blind)
#DF3869
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d237a4;
/* rgb */ color: rgb(210, 55, 164);
/* oklch */ color: oklch(60.5% 0.218 342.6);
Tailwind
colors: {
  custom: {
    50: '#e47cbf',
    500: '#d237a4',
    950: '#000000',
  },
}
SCSS
$custom: #d237a4;
$custom-light: #e47cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#d237a4",
  "rgb": {
    "r": 210,
    "g": 55,
    "b": 164
  },
  "hsl": {
    "h": 317.806,
    "s": 63.265,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60497,
    "c": 0.21797,
    "h": 342.6
  },
  "luminance": 0.19114
}

Semantic roles & 50–950 ramp

primary
#D237A4
secondary
#90D4A5
accent
#E67241
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D237A4

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

Preview Lab → · Contrast checker → · Palette generator →

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