#B21F45#B21F45

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

Color values

HEX#B21F45
RGBrgb(178, 31, 69)
HSLhsl(344, 70%, 41%)
HSVhsv(344, 83%, 70%)
CMYKcmyk(0%, 82.6%, 61.2%, 30.2%)
CIE-LABlab(39.37, 58.35, 16.59)
CIE-LCHlch(39.37, 60.66, 15.88°)
OKLaboklab(50.04% 0.1758 0.0407)
OKLCHoklch(50.04% 0.18 13)
XYZxyz(19.9264, 10.8777, 6.6794)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B21F45 #1FB28C
analogous
#B21F8E #B21F45 #B2421F
triadic
#B21F45 #45B21F #1F45B2
tetradic
#B21F45 #8EB21F #1FB28C #421FB2
square
#B21F45 #8EB21F #1FB28C #421FB2
split-complementary
#B21F45 #1FB242 #1F8EB2
monochromatic
#4A0D1D #7E1631 #B21F45 #DB335E #E56787

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B21F45#FFFFFF#000000##FFFFFF
##B21F451.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)
#4B4A45
Deuteranopia (green-blind)
#706741
Tritanopia (blue-blind)
#C30030
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b21f45;
/* rgb */ color: rgb(178, 31, 69);
/* oklch */ color: oklch(50.0% 0.180 13.0);
Tailwind
colors: {
  custom: {
    50: '#d06c78',
    500: '#b21f45',
    950: '#000000',
  },
}
SCSS
$custom: #b21f45;
$custom-light: #d06c78;
$custom-dark: #000000;
JSON
{
  "hex": "#b21f45",
  "rgb": {
    "r": 178,
    "g": 31,
    "b": 69
  },
  "hsl": {
    "h": 344.49,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50038,
    "c": 0.18042,
    "h": 13
  },
  "luminance": 0.10875
}

Semantic roles & 50–950 ramp

primary
#B21F45
secondary
#63CAAF
accent
#EDBF3B
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #B21F45

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

Preview Lab → · Contrast checker → · Palette generator →

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