#B21E46#B21E46

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

Color values

HEX#B21E46
RGBrgb(178, 30, 70)
HSLhsl(344, 71%, 41%)
HSVhsv(344, 83%, 70%)
CMYKcmyk(0%, 83.1%, 60.7%, 30.2%)
CIE-LABlab(39.31, 58.66, 15.87)
CIE-LCHlch(39.31, 60.77, 15.14°)
OKLaboklab(50% 0.177 0.0391)
OKLCHoklch(50% 0.181 12.5)
XYZxyz(19.9320, 10.8388, 6.8357)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B21E46 #1EB28A
analogous
#B21E90 #B21E46 #B2401E
triadic
#B21E46 #46B21E #1E46B2
tetradic
#B21E46 #90B21E #1EB28A #401EB2
square
#B21E46 #90B21E #1EB28A #401EB2
split-complementary
#B21E46 #1EB240 #1E90B2
monochromatic
#490C1D #7E1531 #B21E46 #DC315F #E56588

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B21E46#FFFFFF#000000##FFFFFF
##B21E461.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)
#4A4946
Deuteranopia (green-blind)
#706742
Tritanopia (blue-blind)
#C30030
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b21e46;
/* rgb */ color: rgb(178, 30, 70);
/* oklch */ color: oklch(50.0% 0.181 12.5);
Tailwind
colors: {
  custom: {
    50: '#d06b79',
    500: '#b21e46',
    950: '#000000',
  },
}
SCSS
$custom: #b21e46;
$custom-light: #d06b79;
$custom-dark: #000000;
JSON
{
  "hex": "#b21e46",
  "rgb": {
    "r": 178,
    "g": 30,
    "b": 70
  },
  "hsl": {
    "h": 343.784,
    "s": 71.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49996,
    "c": 0.18123,
    "h": 12.5
  },
  "luminance": 0.10836
}

Semantic roles & 50–950 ramp

primary
#B21E46
secondary
#62CAAE
accent
#EEBD3A
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #B21E46

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

Preview Lab → · Contrast checker → · Palette generator →

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