#D21BAA#D21BAA

#D21BAA is a mid, highly saturated pink. Relative luminance 0.174; OKLCH L 59.1% C 0.244 H 339.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#D21BAA
RGBrgb(210, 27, 170)
HSLhsl(313, 77%, 46%)
HSVhsv(313, 87%, 82%)
CMYKcmyk(0%, 87.1%, 19%, 17.6%)
CIE-LABlab(48.75, 76.63, -31.10)
CIE-LCHlch(48.75, 82.70, 337.91°)
OKLaboklab(59.09% 0.2293 -0.0842)
OKLCHoklch(59.09% 0.244 339.8)
XYZxyz(34.2271, 17.3914, 39.5768)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D21BAA #1BD243
analogous
#9F1BD2 #D21BAA #D21B4F
triadic
#D21BAA #AAD21B #1BAAD2
tetradic
#D21BAA #D29F1B #1BD243 #1B4FD2
square
#D21BAA #D29F1B #1BD243 #1B4FD2
split-complementary
#D21BAA #4FD21B #1BD29F
monochromatic
#660D52 #9C147E #D21BAA #E743C3 #EE7AD4

Accessibility & contrast

On white

4.69
#D21BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#D21BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D21BAA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D21BAA#FFFFFF#000000##FFFFFF
##D21BAA1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E62AD
Deuteranopia (green-blind)
#6E7EA6
Tritanopia (blue-blind)
#DF2666
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d21baa;
/* rgb */ color: rgb(210, 27, 170);
/* oklch */ color: oklch(59.1% 0.244 339.8);
Tailwind
colors: {
  custom: {
    50: '#e574c3',
    500: '#d21baa',
    950: '#000000',
  },
}
SCSS
$custom: #d21baa;
$custom-light: #e574c3;
$custom-dark: #000000;
JSON
{
  "hex": "#d21baa",
  "rgb": {
    "r": 210,
    "g": 27,
    "b": 170
  },
  "hsl": {
    "h": 313.115,
    "s": 77.215,
    "l": 46.471
  },
  "oklch": {
    "l": 0.59088,
    "c": 0.24432,
    "h": 339.8
  },
  "luminance": 0.17388
}

Semantic roles & 50–950 ramp

primary
#D21BAA
secondary
#73D589
accent
#F45E34
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#170A12
muted
#857C81

Preview Lab

Preview with #D21BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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