#B21F4A#B21F4A

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

Color values

HEX#B21F4A
RGBrgb(178, 31, 74)
HSLhsl(342, 70%, 41%)
HSVhsv(342, 83%, 70%)
CMYKcmyk(0%, 82.6%, 58.4%, 30.2%)
CIE-LABlab(39.48, 58.68, 13.56)
CIE-LCHlch(39.48, 60.23, 13.01°)
OKLaboklab(50.15% 0.1777 0.0338)
OKLCHoklch(50.15% 0.181 10.8)
XYZxyz(20.0882, 10.9424, 7.5316)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B21F4A #1FB287
analogous
#B21F93 #B21F4A #B23D1F
triadic
#B21F4A #4AB21F #1F4AB2
tetradic
#B21F4A #93B21F #1FB287 #3D1FB2
square
#B21F4A #93B21F #1FB287 #3D1FB2
split-complementary
#B21F4A #1FB23D #1F93B2
monochromatic
#4A0D1F #7E1634 #B21F4A #DB3364 #E5678C

Accessibility & contrast

On white

6.59
#B21F4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B21F4A
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B21F4A#FFFFFF#000000##FFFFFF
##B21F4A1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4A4B
Deuteranopia (green-blind)
#6F6846
Tritanopia (blue-blind)
#C30032
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b21f4a;
/* rgb */ color: rgb(178, 31, 74);
/* oklch */ color: oklch(50.2% 0.181 10.8);
Tailwind
colors: {
  custom: {
    50: '#d06c7c',
    500: '#b21f4a',
    950: '#000000',
  },
}
SCSS
$custom: #b21f4a;
$custom-light: #d06c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b21f4a",
  "rgb": {
    "r": 178,
    "g": 31,
    "b": 74
  },
  "hsl": {
    "h": 342.449,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50154,
    "c": 0.18092,
    "h": 10.8
  },
  "luminance": 0.10939
}

Semantic roles & 50–950 ramp

primary
#B21F4A
secondary
#63CAAC
accent
#EDB93B
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B21F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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