#D4237F#D4237F

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

Color values

HEX#D4237F
RGBrgb(212, 35, 127)
HSLhsl(329, 72%, 48%)
HSVhsv(329, 83%, 83%)
CMYKcmyk(0%, 83.5%, 40.1%, 16.9%)
CIE-LABlab(47.93, 70.79, -6.50)
CIE-LCHlch(47.93, 71.09, 354.75°)
OKLaboklab(58% 0.2181 -0.0162)
OKLCHoklch(58% 0.219 355.7)
XYZxyz(31.5855, 16.7356, 21.6416)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4237F #23D478
analogous
#D023D4 #D4237F #D42326
triadic
#D4237F #7FD423 #237FD4
tetradic
#D4237F #D4D023 #23D478 #2326D4
square
#D4237F #D4D023 #23D478 #2326D4
split-complementary
#D4237F #26D423 #23D4D0
monochromatic
#6B1240 #9F1A60 #D4237F #E2529D #EB86BB

Accessibility & contrast

On white

4.83
#D4237F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#D4237F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D4237F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4237F#FFFFFF#000000##FFFFFF
##D4237F1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5D81
Deuteranopia (green-blind)
#7E7D7B
Tritanopia (blue-blind)
#E50050
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d4237f;
/* rgb */ color: rgb(212, 35, 127);
/* oklch */ color: oklch(58.0% 0.219 355.7);
Tailwind
colors: {
  custom: {
    50: '#e774a4',
    500: '#d4237f',
    950: '#000000',
  },
}
SCSS
$custom: #d4237f;
$custom-light: #e774a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d4237f",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 328.814,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57999,
    "c": 0.21868,
    "h": 355.7
  },
  "luminance": 0.16731
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4237F

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

Preview Lab → · Contrast checker → · Palette generator →

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