#B21F46#B21F46

#B21F46 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.180 H 12.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#B21F46
RGBrgb(178, 31, 70)
HSLhsl(344, 70%, 41%)
HSVhsv(344, 83%, 70%)
CMYKcmyk(0%, 82.6%, 60.7%, 30.2%)
CIE-LABlab(39.39, 58.41, 15.99)
CIE-LCHlch(39.39, 60.56, 15.31°)
OKLaboklab(50.06% 0.1762 0.0394)
OKLCHoklch(50.06% 0.181 12.6)
XYZxyz(19.9577, 10.8902, 6.8443)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B21F46 #1FB28B
analogous
#B21F8F #B21F46 #B2421F
triadic
#B21F46 #46B21F #1F46B2
tetradic
#B21F46 #8FB21F #1FB28B #421FB2
square
#B21F46 #8FB21F #1FB28B #421FB2
split-complementary
#B21F46 #1FB242 #1F8FB2
monochromatic
#4A0D1D #7E1632 #B21F46 #DB3360 #E56788

Accessibility & contrast

On white

6.61
#B21F46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#B21F46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B21F46
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B21F46#FFFFFF#000000##FFFFFF
##B21F461.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4A46
Deuteranopia (green-blind)
#706742
Tritanopia (blue-blind)
#C30031
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b21f46;
/* rgb */ color: rgb(178, 31, 70);
/* oklch */ color: oklch(50.1% 0.180 12.6);
Tailwind
colors: {
  custom: {
    50: '#d06c79',
    500: '#b21f46',
    950: '#000000',
  },
}
SCSS
$custom: #b21f46;
$custom-light: #d06c79;
$custom-dark: #000000;
JSON
{
  "hex": "#b21f46",
  "rgb": {
    "r": 178,
    "g": 31,
    "b": 70
  },
  "hsl": {
    "h": 344.082,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50061,
    "c": 0.1805,
    "h": 12.6
  },
  "luminance": 0.10887
}

Semantic roles & 50–950 ramp

primary
#B21F46
secondary
#63CAAF
accent
#EDBE3B
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #B21F46

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

Preview Lab → · Contrast checker → · Palette generator →

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