#B21F4C#B21F4C

#B21F4C is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.181 H 9.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#B21F4C
RGBrgb(178, 31, 76)
HSLhsl(342, 70%, 41%)
HSVhsv(342, 83%, 70%)
CMYKcmyk(0%, 82.6%, 57.3%, 30.2%)
CIE-LABlab(39.53, 58.82, 12.35)
CIE-LCHlch(39.53, 60.10, 11.86°)
OKLaboklab(50.2% 0.1785 0.031)
OKLCHoklch(50.2% 0.181 9.9)
XYZxyz(20.1566, 10.9698, 7.8921)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B21F4C #1FB285
analogous
#B21F95 #B21F4C #B23C1F
triadic
#B21F4C #4CB21F #1F4CB2
tetradic
#B21F4C #95B21F #1FB285 #3C1FB2
square
#B21F4C #95B21F #1FB285 #3C1FB2
split-complementary
#B21F4C #1FB23C #1F95B2
monochromatic
#4A0D1F #7E1636 #B21F4C #DB3366 #E5678D

Accessibility & contrast

On white

6.58
#B21F4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#B21F4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B21F4C
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B21F4C#FFFFFF#000000##FFFFFF
##B21F4C1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494A4D
Deuteranopia (green-blind)
#6F6848
Tritanopia (blue-blind)
#C30033
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b21f4c;
/* rgb */ color: rgb(178, 31, 76);
/* oklch */ color: oklch(50.2% 0.181 9.9);
Tailwind
colors: {
  custom: {
    50: '#d06c7d',
    500: '#b21f4c',
    950: '#000000',
  },
}
SCSS
$custom: #b21f4c;
$custom-light: #d06c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b21f4c",
  "rgb": {
    "r": 178,
    "g": 31,
    "b": 76
  },
  "hsl": {
    "h": 341.633,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50203,
    "c": 0.18119,
    "h": 9.9
  },
  "luminance": 0.10967
}

Semantic roles & 50–950 ramp

primary
#B21F4C
secondary
#63CAAA
accent
#EDB63B
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B21F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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