#D4237C#D4237C

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

Color values

HEX#D4237C
RGBrgb(212, 35, 124)
HSLhsl(330, 72%, 48%)
HSVhsv(330, 83%, 83%)
CMYKcmyk(0%, 83.5%, 41.5%, 16.9%)
CIE-LABlab(47.83, 70.51, -4.82)
CIE-LCHlch(47.83, 70.67, 356.09°)
OKLaboklab(57.9% 0.2172 -0.0118)
OKLCHoklch(57.9% 0.218 356.9)
XYZxyz(31.3929, 16.6586, 20.6272)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4237C #23D47B
analogous
#D323D4 #D4237C #D42323
triadic
#D4237C #7CD423 #237CD4
tetradic
#D4237C #D4D323 #23D47B #2323D4
square
#D4237C #D4D323 #23D47B #2323D4
split-complementary
#D4237C #23D423 #23D4D3
monochromatic
#6B123F #9F1A5D #D4237C #E2529B #EB86B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4237C#FFFFFF#000000##FFFFFF
##D4237C1.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)
#4E5D7E
Deuteranopia (green-blind)
#7E7D78
Tritanopia (blue-blind)
#E6004E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d4237c;
/* rgb */ color: rgb(212, 35, 124);
/* oklch */ color: oklch(57.9% 0.218 356.9);
Tailwind
colors: {
  custom: {
    50: '#e774a1',
    500: '#d4237c',
    950: '#000000',
  },
}
SCSS
$custom: #d4237c;
$custom-light: #e774a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d4237c",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 329.831,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57895,
    "c": 0.21754,
    "h": 356.9
  },
  "luminance": 0.16654
}

Semantic roles & 50–950 ramp

primary
#D4237C
secondary
#7ED4A9
accent
#EE9339
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0F
muted
#857C7E

Preview Lab

Preview with #D4237C

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

Preview Lab → · Contrast checker → · Palette generator →

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