#D4237E#D4237E

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

Color values

HEX#D4237E
RGBrgb(212, 35, 126)
HSLhsl(329, 72%, 48%)
HSVhsv(329, 83%, 83%)
CMYKcmyk(0%, 83.5%, 40.6%, 16.9%)
CIE-LABlab(47.89, 70.69, -5.94)
CIE-LCHlch(47.89, 70.94, 355.19°)
OKLaboklab(57.96% 0.2178 -0.0147)
OKLCHoklch(57.96% 0.218 356.1)
XYZxyz(31.5207, 16.7097, 21.3001)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4237E #23D479
analogous
#D123D4 #D4237E #D42325
triadic
#D4237E #7ED423 #237ED4
tetradic
#D4237E #D4D123 #23D479 #2325D4
square
#D4237E #D4D123 #23D479 #2325D4
split-complementary
#D4237E #25D423 #23D4D1
monochromatic
#6B1240 #9F1A5F #D4237E #E2529C #EB86BA

Accessibility & contrast

On white

4.84
#D4237E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#D4237E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D4237E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4237E#FFFFFF#000000##FFFFFF
##D4237E1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5D80
Deuteranopia (green-blind)
#7E7D7A
Tritanopia (blue-blind)
#E6004F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d4237e;
/* rgb */ color: rgb(212, 35, 126);
/* oklch */ color: oklch(58.0% 0.218 356.1);
Tailwind
colors: {
  custom: {
    50: '#e774a3',
    500: '#d4237e',
    950: '#000000',
  },
}
SCSS
$custom: #d4237e;
$custom-light: #e774a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d4237e",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 329.153,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57964,
    "c": 0.2183,
    "h": 356.1
  },
  "luminance": 0.16705
}

Semantic roles & 50–950 ramp

primary
#D4237E
secondary
#7ED4A8
accent
#EE9139
background
#FFF7FA
surface
#FEEEF3
border
#D6C9CD
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #D4237E

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

Preview Lab → · Contrast checker → · Palette generator →

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