#D23971#D23971

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

Color values

HEX#D23971
RGBrgb(210, 57, 113)
HSLhsl(338, 63%, 52%)
HSVhsv(338, 73%, 82%)
CMYKcmyk(0%, 72.9%, 46.2%, 17.6%)
CIE-LABlab(49.28, 62.88, 3.97)
CIE-LCHlch(49.28, 63.00, 3.61°)
OKLaboklab(58.79% 0.1925 0.0109)
OKLCHoklch(58.79% 0.193 3.2)
XYZxyz(31.0246, 17.8242, 17.4263)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D23971 #39D29A
analogous
#D239BE #D23971 #D24D39
triadic
#D23971 #71D239 #3971D2
tetradic
#D23971 #BED239 #39D29A #4D39D2
square
#D23971 #BED239 #39D29A #4D39D2
split-complementary
#D23971 #39D24D #39BED2
monochromatic
#761B3C #A82656 #D23971 #DD6B95 #E99DB9

Accessibility & contrast

On white

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

On black

4.56
#D23971 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##D23971#FFFFFF#000000##FFFFFF
##D239711.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6272
Deuteranopia (green-blind)
#85806D
Tritanopia (blue-blind)
#E41C51
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d23971;
/* rgb */ color: rgb(210, 57, 113);
/* oklch */ color: oklch(58.8% 0.193 3.2);
Tailwind
colors: {
  custom: {
    50: '#e67c99',
    500: '#d23971',
    950: '#000000',
  },
}
SCSS
$custom: #d23971;
$custom-light: #e67c99;
$custom-dark: #000000;
JSON
{
  "hex": "#d23971",
  "rgb": {
    "r": 210,
    "g": 57,
    "b": 113
  },
  "hsl": {
    "h": 338.039,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58788,
    "c": 0.19283,
    "h": 3.2
  },
  "luminance": 0.1782
}

Semantic roles & 50–950 ramp

primary
#D23971
secondary
#92D5BC
accent
#E6AA42
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #D23971

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

Preview Lab → · Contrast checker → · Palette generator →

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