#D4236C#D4236C

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

Color values

HEX#D4236C
RGBrgb(212, 35, 108)
HSLhsl(335, 72%, 48%)
HSVhsv(335, 83%, 83%)
CMYKcmyk(0%, 83.5%, 49.1%, 16.9%)
CIE-LABlab(47.35, 69.12, 4.29)
CIE-LCHlch(47.35, 69.25, 3.55°)
OKLaboklab(57.39% 0.2121 0.0117)
OKLCHoklch(57.39% 0.212 3.1)
XYZxyz(30.4619, 16.2862, 15.7240)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4236C #23D48B
analogous
#D423C4 #D4236C #D43223
triadic
#D4236C #6CD423 #236CD4
tetradic
#D4236C #C4D423 #23D48B #3223D4
square
#D4236C #C4D423 #23D48B #3223D4
split-complementary
#D4236C #23D432 #23C4D4
monochromatic
#6B1236 #9F1A51 #D4236C #E2528D #EB86B0

Accessibility & contrast

On white

4.93
#D4236C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#D4236C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D4236C
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4236C#FFFFFF#000000##FFFFFF
##D4236C1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535B6D
Deuteranopia (green-blind)
#827C68
Tritanopia (blue-blind)
#E70045
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #d4236c;
/* rgb */ color: rgb(212, 35, 108);
/* oklch */ color: oklch(57.4% 0.212 3.1);
Tailwind
colors: {
  custom: {
    50: '#e87495',
    500: '#d4236c',
    950: '#000000',
  },
}
SCSS
$custom: #d4236c;
$custom-light: #e87495;
$custom-dark: #000000;
JSON
{
  "hex": "#d4236c",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 108
  },
  "hsl": {
    "h": 335.254,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57389,
    "c": 0.21246,
    "h": 3.1
  },
  "luminance": 0.16282
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4236C

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

Preview Lab → · Contrast checker → · Palette generator →

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