#D4236F#D4236F

#D4236F is a mid, highly saturated pink. Relative luminance 0.163; OKLCH L 57.5% C 0.213 H 2.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#D4236F
RGBrgb(212, 35, 111)
HSLhsl(334, 72%, 48%)
HSVhsv(334, 83%, 83%)
CMYKcmyk(0%, 83.5%, 47.6%, 16.9%)
CIE-LABlab(47.43, 69.36, 2.57)
CIE-LCHlch(47.43, 69.41, 2.12°)
OKLaboklab(57.48% 0.2132 0.0073)
OKLCHoklch(57.48% 0.213 2)
XYZxyz(30.6243, 16.3511, 16.5793)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4236F #23D488
analogous
#D423C7 #D4236F #D42F23
triadic
#D4236F #6FD423 #236FD4
tetradic
#D4236F #C7D423 #23D488 #2F23D4
square
#D4236F #C7D423 #23D488 #2F23D4
split-complementary
#D4236F #23D42F #23C7D4
monochromatic
#6B1238 #9F1A53 #D4236F #E25290 #EB86B2

Accessibility & contrast

On white

4.92
#D4236F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#D4236F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D4236F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4236F#FFFFFF#000000##FFFFFF
##D4236F1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525B71
Deuteranopia (green-blind)
#817C6B
Tritanopia (blue-blind)
#E70047
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #d4236f;
/* rgb */ color: rgb(212, 35, 111);
/* oklch */ color: oklch(57.5% 0.213 2.0);
Tailwind
colors: {
  custom: {
    50: '#e87498',
    500: '#d4236f',
    950: '#000000',
  },
}
SCSS
$custom: #d4236f;
$custom-light: #e87498;
$custom-dark: #000000;
JSON
{
  "hex": "#d4236f",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 334.237,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57478,
    "c": 0.21328,
    "h": 2
  },
  "luminance": 0.16347
}

Semantic roles & 50–950 ramp

primary
#D4236F
secondary
#7ED4AF
accent
#EEA139
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#17090D
muted
#857B7E

Preview Lab

Preview with #D4236F

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

Preview Lab → · Contrast checker → · Palette generator →

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