#D4237B#D4237B

#D4237B is a mid, highly saturated pink. Relative luminance 0.166; OKLCH L 57.9% C 0.217 H 357.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#D4237B
RGBrgb(212, 35, 123)
HSLhsl(330, 72%, 48%)
HSVhsv(330, 83%, 83%)
CMYKcmyk(0%, 83.5%, 42%, 16.9%)
CIE-LABlab(47.79, 70.41, -4.26)
CIE-LCHlch(47.79, 70.54, 356.54°)
OKLaboklab(57.86% 0.2169 -0.0103)
OKLCHoklch(57.86% 0.217 357.3)
XYZxyz(31.3300, 16.6334, 20.2958)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4237B #23D47C
analogous
#D423D3 #D4237B #D42323
triadic
#D4237B #7BD423 #237BD4
tetradic
#D4237B #D3D423 #23D47C #2323D4
square
#D4237B #D3D423 #23D47C #2323D4
split-complementary
#D4237B #23D423 #23D3D4
monochromatic
#6B123E #9F1A5D #D4237B #E2529A #EB86B8

Accessibility & contrast

On white

4.85
#D4237B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#D4237B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D4237B
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4237B#FFFFFF#000000##FFFFFF
##D4237B1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5D7D
Deuteranopia (green-blind)
#7F7D77
Tritanopia (blue-blind)
#E6004D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d4237b;
/* rgb */ color: rgb(212, 35, 123);
/* oklch */ color: oklch(57.9% 0.217 357.3);
Tailwind
colors: {
  custom: {
    50: '#e774a1',
    500: '#d4237b',
    950: '#000000',
  },
}
SCSS
$custom: #d4237b;
$custom-light: #e774a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d4237b",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 330.169,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57861,
    "c": 0.21717,
    "h": 357.3
  },
  "luminance": 0.16629
}

Semantic roles & 50–950 ramp

primary
#D4237B
secondary
#7ED4AA
accent
#EE9439
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D4237B

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

Preview Lab → · Contrast checker → · Palette generator →

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