#B21F44#B21F44

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

Color values

HEX#B21F44
RGBrgb(178, 31, 68)
HSLhsl(345, 70%, 41%)
HSVhsv(345, 83%, 70%)
CMYKcmyk(0%, 82.6%, 61.8%, 30.2%)
CIE-LABlab(39.35, 58.29, 17.20)
CIE-LCHlch(39.35, 60.77, 16.44°)
OKLaboklab(50.02% 0.1754 0.0421)
OKLCHoklch(50.02% 0.18 13.5)
XYZxyz(19.8956, 10.8653, 6.5173)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B21F44 #1FB28D
analogous
#B21F8D #B21F44 #B2431F
triadic
#B21F44 #44B21F #1F44B2
tetradic
#B21F44 #8DB21F #1FB28D #431FB2
square
#B21F44 #8DB21F #1FB28D #431FB2
split-complementary
#B21F44 #1FB243 #1F8DB2
monochromatic
#4A0D1C #7E1630 #B21F44 #DB335D #E56787

Accessibility & contrast

On white

6.62
#B21F44 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B21F44
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B21F44#FFFFFF#000000##FFFFFF
##B21F441.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4944
Deuteranopia (green-blind)
#706740
Tritanopia (blue-blind)
#C30030
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b21f44;
/* rgb */ color: rgb(178, 31, 68);
/* oklch */ color: oklch(50.0% 0.180 13.5);
Tailwind
colors: {
  custom: {
    50: '#d16c77',
    500: '#b21f44',
    950: '#000000',
  },
}
SCSS
$custom: #b21f44;
$custom-light: #d16c77;
$custom-dark: #000000;
JSON
{
  "hex": "#b21f44",
  "rgb": {
    "r": 178,
    "g": 31,
    "b": 68
  },
  "hsl": {
    "h": 344.898,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50016,
    "c": 0.18034,
    "h": 13.5
  },
  "luminance": 0.10862
}

Semantic roles & 50–950 ramp

primary
#B21F44
secondary
#63CAB0
accent
#EDC03B
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #B21F44

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

Preview Lab → · Contrast checker → · Palette generator →

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