#D4236B#D4236B

#D4236B is a mid, highly saturated pink. Relative luminance 0.163; OKLCH L 57.4% C 0.212 H 3.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#D4236B
RGBrgb(212, 35, 107)
HSLhsl(336, 72%, 48%)
HSVhsv(336, 83%, 83%)
CMYKcmyk(0%, 83.5%, 49.5%, 16.9%)
CIE-LABlab(47.32, 69.04, 4.87)
CIE-LCHlch(47.32, 69.21, 4.03°)
OKLaboklab(57.36% 0.2118 0.0131)
OKLCHoklch(57.36% 0.212 3.5)
XYZxyz(30.4090, 16.2650, 15.4453)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4236B #23D48C
analogous
#D423C3 #D4236B #D43323
triadic
#D4236B #6BD423 #236BD4
tetradic
#D4236B #C3D423 #23D48C #3323D4
square
#D4236B #C3D423 #23D48C #3323D4
split-complementary
#D4236B #23D433 #23C3D4
monochromatic
#6B1236 #9F1A50 #D4236B #E2528D #EB86AF

Accessibility & contrast

On white

4.94
#D4236B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#D4236B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D4236B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4236B#FFFFFF#000000##FFFFFF
##D4236B1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545A6C
Deuteranopia (green-blind)
#827C67
Tritanopia (blue-blind)
#E70045
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #d4236b;
/* rgb */ color: rgb(212, 35, 107);
/* oklch */ color: oklch(57.4% 0.212 3.5);
Tailwind
colors: {
  custom: {
    50: '#e87495',
    500: '#d4236b',
    950: '#000000',
  },
}
SCSS
$custom: #d4236b;
$custom-light: #e87495;
$custom-dark: #000000;
JSON
{
  "hex": "#d4236b",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 335.593,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5736,
    "c": 0.2122,
    "h": 3.5
  },
  "luminance": 0.16261
}

Semantic roles & 50–950 ramp

primary
#D4236B
secondary
#7ED4B1
accent
#EEA539
background
#FFF7F9
surface
#FEEEF1
border
#D6C9CB
text
#17090D
muted
#857B7E

Preview Lab

Preview with #D4236B

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

Preview Lab → · Contrast checker → · Palette generator →

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