#D21B4E#D21B4E

#D21B4E is a mid, highly saturated pink. Relative luminance 0.150; OKLCH L 55.9% C 0.211 H 13.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#D21B4E
RGBrgb(210, 27, 78)
HSLhsl(343, 77%, 46%)
HSVhsv(343, 87%, 82%)
CMYKcmyk(0%, 87.1%, 62.9%, 17.6%)
CIE-LABlab(45.69, 68.17, 20.49)
CIE-LCHlch(45.69, 71.18, 16.73°)
OKLaboklab(55.87% 0.2049 0.0497)
OKLCHoklch(55.87% 0.211 13.6)
XYZxyz(28.3486, 15.0400, 8.6166)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D21B4E #1BD29F
analogous
#D21BAA #D21B4E #D2441B
triadic
#D21B4E #4ED21B #1B4ED2
tetradic
#D21B4E #AAD21B #1BD29F #441BD2
square
#D21B4E #AAD21B #1BD29F #441BD2
split-complementary
#D21B4E #1BD244 #1BAAD2
monochromatic
#660D26 #9C143A #D21B4E #E74371 #EE7A9A

Accessibility & contrast

On white

5.24
#D21B4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#D21B4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D21B4E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D21B4E#FFFFFF#000000##FFFFFF
##D21B4E1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56554E
Deuteranopia (green-blind)
#837949
Tritanopia (blue-blind)
#E60034
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #d21b4e;
/* rgb */ color: rgb(210, 27, 78);
/* oklch */ color: oklch(55.9% 0.211 13.6);
Tailwind
colors: {
  custom: {
    50: '#e8707f',
    500: '#d21b4e',
    950: '#000000',
  },
}
SCSS
$custom: #d21b4e;
$custom-light: #e8707f;
$custom-dark: #000000;
JSON
{
  "hex": "#d21b4e",
  "rgb": {
    "r": 210,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 343.279,
    "s": 77.215,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55873,
    "c": 0.21084,
    "h": 13.6
  },
  "luminance": 0.15036
}

Semantic roles & 50–950 ramp

primary
#D21B4E
secondary
#73D5BA
accent
#F4BE34
background
#FFF7F7
surface
#FFEDEE
border
#D7C8C9
text
#18090A
muted
#867B7C

Preview Lab

Preview with #D21B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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