#D237A7#D237A7

#D237A7 is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.6% C 0.220 H 341.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#D237A7
RGBrgb(210, 55, 167)
HSLhsl(317, 63%, 52%)
HSVhsv(317, 74%, 82%)
CMYKcmyk(0%, 73.8%, 20.5%, 17.6%)
CIE-LABlab(50.95, 69.52, -25.90)
CIE-LCHlch(50.95, 74.19, 339.57°)
OKLaboklab(60.63% 0.2085 -0.0696)
OKLCHoklch(60.63% 0.22 341.5)
XYZxyz(34.9207, 19.2276, 38.4239)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D237A7 #37D262
analogous
#AF37D2 #D237A7 #D2375A
triadic
#D237A7 #A7D237 #37A7D2
tetradic
#D237A7 #D2AF37 #37D262 #375AD2
square
#D237A7 #D2AF37 #37D262 #375AD2
split-complementary
#D237A7 #5AD237 #37D2AF
monochromatic
#741A5B #A62583 #D237A7 #DD69BD #E89BD3

Accessibility & contrast

On white

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

On black

4.84
#D237A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D237A7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D237A7#FFFFFF#000000##000000
##D237A71.004.334.844.84
#FFFFFF4.331.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4569AA
Deuteranopia (green-blind)
#7682A3
Tritanopia (blue-blind)
#DF3A6B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d237a7;
/* rgb */ color: rgb(210, 55, 167);
/* oklch */ color: oklch(60.6% 0.220 341.5);
Tailwind
colors: {
  custom: {
    50: '#e47cc1',
    500: '#d237a7',
    950: '#000000',
  },
}
SCSS
$custom: #d237a7;
$custom-light: #e47cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#d237a7",
  "rgb": {
    "r": 210,
    "g": 55,
    "b": 167
  },
  "hsl": {
    "h": 316.645,
    "s": 63.265,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60631,
    "c": 0.21979,
    "h": 341.5
  },
  "luminance": 0.19224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D237A7

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

Preview Lab → · Contrast checker → · Palette generator →

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