#D24172#D24172

#D24172 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.6% C 0.184 H 4.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#D24172
RGBrgb(210, 65, 114)
HSLhsl(340, 62%, 54%)
HSVhsv(340, 69%, 82%)
CMYKcmyk(0%, 69%, 45.7%, 17.6%)
CIE-LABlab(50.34, 60.12, 4.88)
CIE-LCHlch(50.34, 60.31, 4.64°)
OKLaboklab(59.58% 0.1838 0.0132)
OKLCHoklch(59.58% 0.184 4.1)
XYZxyz(31.5084, 18.7012, 17.8668)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D24172 #41D2A1
analogous
#D241BB #D24172 #D25941
triadic
#D24172 #72D241 #4172D2
tetradic
#D24172 #BBD241 #41D2A1 #5941D2
square
#D24172 #BBD241 #41D2A1 #5941D2
split-complementary
#D24172 #41D259 #41BBD2
monochromatic
#7B1D3D #AD2956 #D24172 #DE7297 #E9A4BB

Accessibility & contrast

On white

4.43
#D24172 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#D24172 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D24172
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D24172#FFFFFF#000000##000000
##D241721.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#616673
Deuteranopia (green-blind)
#87826F
Tritanopia (blue-blind)
#E42A55
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d24172;
/* rgb */ color: rgb(210, 65, 114);
/* oklch */ color: oklch(59.6% 0.184 4.1);
Tailwind
colors: {
  custom: {
    50: '#e57f9a',
    500: '#d24172',
    950: '#000000',
  },
}
SCSS
$custom: #d24172;
$custom-light: #e57f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#d24172",
  "rgb": {
    "r": 210,
    "g": 65,
    "b": 114
  },
  "hsl": {
    "h": 339.724,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59575,
    "c": 0.18422,
    "h": 4.1
  },
  "luminance": 0.18697
}

Semantic roles & 50–950 ramp

primary
#D24172
secondary
#98D6C1
accent
#E5AE43
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D24172

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

Preview Lab → · Contrast checker → · Palette generator →

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