#D237A8#D237A8

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

Color values

HEX#D237A8
RGBrgb(210, 55, 168)
HSLhsl(316, 63%, 52%)
HSVhsv(316, 74%, 82%)
CMYKcmyk(0%, 73.8%, 20%, 17.6%)
CIE-LABlab(51.00, 69.65, -26.42)
CIE-LCHlch(51.00, 74.50, 339.23°)
OKLaboklab(60.68% 0.2086 -0.0711)
OKLCHoklch(60.68% 0.22 341.2)
XYZxyz(35.0135, 19.2647, 38.9127)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D237A8 #37D261
analogous
#AE37D2 #D237A8 #D2375B
triadic
#D237A8 #A8D237 #37A8D2
tetradic
#D237A8 #D2AE37 #37D261 #375BD2
square
#D237A8 #D2AE37 #37D261 #375BD2
split-complementary
#D237A8 #5BD237 #37D2AE
monochromatic
#741A5C #A62583 #D237A8 #DD69BE #E89BD3

Accessibility & contrast

On white

4.33
#D237A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#D237A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D237A8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D237A8#FFFFFF#000000##000000
##D237A81.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4469AB
Deuteranopia (green-blind)
#7682A4
Tritanopia (blue-blind)
#DF3A6B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d237a8;
/* rgb */ color: rgb(210, 55, 168);
/* oklch */ color: oklch(60.7% 0.220 341.2);
Tailwind
colors: {
  custom: {
    50: '#e47dc2',
    500: '#d237a8',
    950: '#000000',
  },
}
SCSS
$custom: #d237a8;
$custom-light: #e47dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#d237a8",
  "rgb": {
    "r": 210,
    "g": 55,
    "b": 168
  },
  "hsl": {
    "h": 316.258,
    "s": 63.265,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60676,
    "c": 0.2204,
    "h": 341.2
  },
  "luminance": 0.19261
}

Semantic roles & 50–950 ramp

primary
#D237A8
secondary
#90D4A3
accent
#E66E41
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D237A8

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

Preview Lab → · Contrast checker → · Palette generator →

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