#D5237B#D5237B

#D5237B is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 58.0% C 0.218 H 357.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#D5237B
RGBrgb(213, 35, 123)
HSLhsl(330, 72%, 49%)
HSVhsv(330, 84%, 84%)
CMYKcmyk(0%, 83.6%, 42.3%, 16.5%)
CIE-LABlab(47.98, 70.65, -3.95)
CIE-LCHlch(47.98, 70.76, 356.80°)
OKLaboklab(58.03% 0.2177 -0.0095)
OKLCHoklch(58.03% 0.218 357.5)
XYZxyz(31.6192, 16.7825, 20.3094)
Luminance0.1678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5237B #23D57D
analogous
#D523D4 #D5237B #D52423
triadic
#D5237B #7BD523 #237BD5
tetradic
#D5237B #D4D523 #23D57D #2423D5
square
#D5237B #D4D523 #23D57D #2423D5
split-complementary
#D5237B #23D524 #23D4D5
monochromatic
#6C123E #A01A5D #D5237B #E3539A #EB87B9

Accessibility & contrast

On white

4.82
#D5237B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#D5237B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D5237B
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5237B#FFFFFF#000000##FFFFFF
##D5237B1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5D7D
Deuteranopia (green-blind)
#7F7E77
Tritanopia (blue-blind)
#E7004D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d5237b;
/* rgb */ color: rgb(213, 35, 123);
/* oklch */ color: oklch(58.0% 0.218 357.5);
Tailwind
colors: {
  custom: {
    50: '#e874a1',
    500: '#d5237b',
    950: '#000000',
  },
}
SCSS
$custom: #d5237b;
$custom-light: #e874a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d5237b",
  "rgb": {
    "r": 213,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 330.337,
    "s": 71.774,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58034,
    "c": 0.21788,
    "h": 357.5
  },
  "luminance": 0.16778
}

Semantic roles & 50–950 ramp

primary
#D5237B
secondary
#7FD5AA
accent
#EF9539
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D5237B

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

Preview Lab → · Contrast checker → · Palette generator →

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