#B21E45#B21E45

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

Color values

HEX#B21E45
RGBrgb(178, 30, 69)
HSLhsl(344, 71%, 41%)
HSVhsv(344, 83%, 70%)
CMYKcmyk(0%, 83.1%, 61.2%, 30.2%)
CIE-LABlab(39.29, 58.60, 16.48)
CIE-LCHlch(39.29, 60.87, 15.70°)
OKLaboklab(49.97% 0.1766 0.0404)
OKLCHoklch(49.97% 0.181 12.9)
XYZxyz(19.9007, 10.8262, 6.6709)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B21E45 #1EB28B
analogous
#B21E8F #B21E45 #B2411E
triadic
#B21E45 #45B21E #1E45B2
tetradic
#B21E45 #8FB21E #1EB28B #411EB2
square
#B21E45 #8FB21E #1EB28B #411EB2
split-complementary
#B21E45 #1EB241 #1E8FB2
monochromatic
#490C1C #7E1531 #B21E45 #DC315E #E56587

Accessibility & contrast

On white

6.64
#B21E45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#B21E45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B21E45
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B21E45#FFFFFF#000000##FFFFFF
##B21E451.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4945
Deuteranopia (green-blind)
#706741
Tritanopia (blue-blind)
#C30030
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b21e45;
/* rgb */ color: rgb(178, 30, 69);
/* oklch */ color: oklch(50.0% 0.181 12.9);
Tailwind
colors: {
  custom: {
    50: '#d16b78',
    500: '#b21e45',
    950: '#000000',
  },
}
SCSS
$custom: #b21e45;
$custom-light: #d16b78;
$custom-dark: #000000;
JSON
{
  "hex": "#b21e45",
  "rgb": {
    "r": 178,
    "g": 30,
    "b": 69
  },
  "hsl": {
    "h": 344.189,
    "s": 71.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49974,
    "c": 0.18114,
    "h": 12.9
  },
  "luminance": 0.10823
}

Semantic roles & 50–950 ramp

primary
#B21E45
secondary
#62CAAF
accent
#EEBE3A
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #B21E45

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

Preview Lab → · Contrast checker → · Palette generator →

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