#D23972#D23972

#D23972 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.8% C 0.193 H 2.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#D23972
RGBrgb(210, 57, 114)
HSLhsl(338, 63%, 52%)
HSVhsv(338, 73%, 82%)
CMYKcmyk(0%, 72.9%, 45.7%, 17.6%)
CIE-LABlab(49.31, 62.97, 3.40)
CIE-LCHlch(49.31, 63.06, 3.09°)
OKLaboklab(58.82% 0.1929 0.0094)
OKLCHoklch(58.82% 0.193 2.8)
XYZxyz(31.0812, 17.8469, 17.7244)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D23972 #39D299
analogous
#D239BF #D23972 #D24D39
triadic
#D23972 #72D239 #3972D2
tetradic
#D23972 #BFD239 #39D299 #4D39D2
square
#D23972 #BFD239 #39D299 #4D39D2
split-complementary
#D23972 #39D24D #39BFD2
monochromatic
#761B3D #A82656 #D23972 #DD6B96 #E99DB9

Accessibility & contrast

On white

4.60
#D23972 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#D23972 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D23972
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D23972#FFFFFF#000000##FFFFFF
##D239721.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6273
Deuteranopia (green-blind)
#85806E
Tritanopia (blue-blind)
#E41D51
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d23972;
/* rgb */ color: rgb(210, 57, 114);
/* oklch */ color: oklch(58.8% 0.193 2.8);
Tailwind
colors: {
  custom: {
    50: '#e67c9a',
    500: '#d23972',
    950: '#000000',
  },
}
SCSS
$custom: #d23972;
$custom-light: #e67c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#d23972",
  "rgb": {
    "r": 210,
    "g": 57,
    "b": 114
  },
  "hsl": {
    "h": 337.647,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58817,
    "c": 0.19309,
    "h": 2.8
  },
  "luminance": 0.17843
}

Semantic roles & 50–950 ramp

primary
#D23972
secondary
#92D5BC
accent
#E6A942
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D23972

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

Preview Lab → · Contrast checker → · Palette generator →

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