#B21E47#B21E47

#B21E47 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.181 H 12.0°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#B21E47
RGBrgb(178, 30, 71)
HSLhsl(343, 71%, 41%)
HSVhsv(343, 83%, 70%)
CMYKcmyk(0%, 83.1%, 60.1%, 30.2%)
CIE-LABlab(39.33, 58.73, 15.26)
CIE-LCHlch(39.33, 60.68, 14.57°)
OKLaboklab(50.02% 0.1774 0.0377)
OKLCHoklch(50.02% 0.181 12)
XYZxyz(19.9638, 10.8515, 7.0034)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B21E47 #1EB289
analogous
#B21E91 #B21E47 #B23F1E
triadic
#B21E47 #47B21E #1E47B2
tetradic
#B21E47 #91B21E #1EB289 #3F1EB2
square
#B21E47 #91B21E #1EB289 #3F1EB2
split-complementary
#B21E47 #1EB23F #1E91B2
monochromatic
#490C1D #7E1532 #B21E47 #DC3160 #E56589

Accessibility & contrast

On white

6.63
#B21E47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#B21E47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B21E47
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B21E47#FFFFFF#000000##FFFFFF
##B21E471.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4948
Deuteranopia (green-blind)
#6F6743
Tritanopia (blue-blind)
#C30031
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b21e47;
/* rgb */ color: rgb(178, 30, 71);
/* oklch */ color: oklch(50.0% 0.181 12.0);
Tailwind
colors: {
  custom: {
    50: '#d06b79',
    500: '#b21e47',
    950: '#000000',
  },
}
SCSS
$custom: #b21e47;
$custom-light: #d06b79;
$custom-dark: #000000;
JSON
{
  "hex": "#b21e47",
  "rgb": {
    "r": 178,
    "g": 30,
    "b": 71
  },
  "hsl": {
    "h": 343.378,
    "s": 71.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50019,
    "c": 0.18132,
    "h": 12
  },
  "luminance": 0.10848
}

Semantic roles & 50–950 ramp

primary
#B21E47
secondary
#62CAAD
accent
#EEBC3A
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #B21E47

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

Preview Lab → · Contrast checker → · Palette generator →

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