#D237AC#D237AC

#D237AC is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.9% C 0.223 H 339.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#D237AC
RGBrgb(210, 55, 172)
HSLhsl(315, 63%, 52%)
HSVhsv(315, 74%, 82%)
CMYKcmyk(0%, 73.8%, 18.1%, 17.6%)
CIE-LABlab(51.17, 70.19, -28.50)
CIE-LCHlch(51.17, 75.75, 337.90°)
OKLaboklab(60.86% 0.2092 -0.077)
OKLCHoklch(60.86% 0.223 339.8)
XYZxyz(35.3919, 19.4161, 40.9055)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D237AC #37D25D
analogous
#AB37D2 #D237AC #D2375F
triadic
#D237AC #ACD237 #37ACD2
tetradic
#D237AC #D2AB37 #37D25D #375FD2
square
#D237AC #D2AB37 #37D25D #375FD2
split-complementary
#D237AC #5FD237 #37D2AB
monochromatic
#741A5E #A62587 #D237AC #DD69C1 #E89BD5

Accessibility & contrast

On white

4.30
#D237AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#D237AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D237AC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D237AC#FFFFFF#000000##000000
##D237AC1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#426AAF
Deuteranopia (green-blind)
#7483A8
Tritanopia (blue-blind)
#DE3C6E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d237ac;
/* rgb */ color: rgb(210, 55, 172);
/* oklch */ color: oklch(60.9% 0.223 339.8);
Tailwind
colors: {
  custom: {
    50: '#e47dc5',
    500: '#d237ac',
    950: '#000000',
  },
}
SCSS
$custom: #d237ac;
$custom-light: #e47dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#d237ac",
  "rgb": {
    "r": 210,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 314.71,
    "s": 63.265,
    "l": 51.961
  },
  "oklch": {
    "l": 0.6086,
    "c": 0.2229,
    "h": 339.8
  },
  "luminance": 0.19413
}

Semantic roles & 50–950 ramp

primary
#D237AC
secondary
#90D4A1
accent
#E66A41
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D237AC

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

Preview Lab → · Contrast checker → · Palette generator →

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