#D21F60#D21F60

#D21F60 is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.5% C 0.211 H 7.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#D21F60
RGBrgb(210, 31, 96)
HSLhsl(338, 74%, 47%)
HSVhsv(338, 85%, 82%)
CMYKcmyk(0%, 85.2%, 54.3%, 17.6%)
CIE-LABlab(46.35, 68.55, 10.24)
CIE-LCHlch(46.35, 69.31, 8.49°)
OKLaboklab(56.49% 0.2092 0.0262)
OKLCHoklch(56.49% 0.211 7.1)
XYZxyz(29.1825, 15.5305, 12.5251)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D21F60 #1FD291
analogous
#D21FBA #D21F60 #D2371F
triadic
#D21F60 #60D21F #1F60D2
tetradic
#D21F60 #BAD21F #1FD291 #371FD2
square
#D21F60 #BAD21F #1FD291 #371FD2
split-complementary
#D21F60 #1FD237 #1FBAD2
monochromatic
#670F2F #9D1748 #D21F60 #E44A82 #EC7FA7

Accessibility & contrast

On white

5.12
#D21F60 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#D21F60 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D21F60
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D21F60#FFFFFF#000000##FFFFFF
##D21F601.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545761
Deuteranopia (green-blind)
#827A5C
Tritanopia (blue-blind)
#E5003E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #d21f60;
/* rgb */ color: rgb(210, 31, 96);
/* oklch */ color: oklch(56.5% 0.211 7.1);
Tailwind
colors: {
  custom: {
    50: '#e7728c',
    500: '#d21f60',
    950: '#000000',
  },
}
SCSS
$custom: #d21f60;
$custom-light: #e7728c;
$custom-dark: #000000;
JSON
{
  "hex": "#d21f60",
  "rgb": {
    "r": 210,
    "g": 31,
    "b": 96
  },
  "hsl": {
    "h": 338.212,
    "s": 74.274,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56489,
    "c": 0.21084,
    "h": 7.1
  },
  "luminance": 0.15526
}

Semantic roles & 50–950 ramp

primary
#D21F60
secondary
#78D4B3
accent
#F1AD37
background
#FFF7F8
surface
#FEEDF0
border
#D6C8CB
text
#17090C
muted
#857B7D

Preview Lab

Preview with #D21F60

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

Preview Lab → · Contrast checker → · Palette generator →

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