#B21F4B#B21F4B

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

Color values

HEX#B21F4B
RGBrgb(178, 31, 75)
HSLhsl(342, 70%, 41%)
HSVhsv(342, 83%, 70%)
CMYKcmyk(0%, 82.6%, 57.9%, 30.2%)
CIE-LABlab(39.51, 58.75, 12.96)
CIE-LCHlch(39.51, 60.16, 12.44°)
OKLaboklab(50.18% 0.1781 0.0324)
OKLCHoklch(50.18% 0.181 10.3)
XYZxyz(20.1221, 10.9560, 7.7104)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B21F4B #1FB286
analogous
#B21F94 #B21F4B #B23C1F
triadic
#B21F4B #4BB21F #1F4BB2
tetradic
#B21F4B #94B21F #1FB286 #3C1FB2
square
#B21F4B #94B21F #1FB286 #3C1FB2
split-complementary
#B21F4B #1FB23C #1F94B2
monochromatic
#4A0D1F #7E1635 #B21F4B #DB3365 #E5678C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B21F4B#FFFFFF#000000##FFFFFF
##B21F4B1.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)
#4A4A4C
Deuteranopia (green-blind)
#6F6847
Tritanopia (blue-blind)
#C30033
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b21f4b;
/* rgb */ color: rgb(178, 31, 75);
/* oklch */ color: oklch(50.2% 0.181 10.3);
Tailwind
colors: {
  custom: {
    50: '#d06c7c',
    500: '#b21f4b',
    950: '#000000',
  },
}
SCSS
$custom: #b21f4b;
$custom-light: #d06c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b21f4b",
  "rgb": {
    "r": 178,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 342.041,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50179,
    "c": 0.18105,
    "h": 10.3
  },
  "luminance": 0.10953
}

Semantic roles & 50–950 ramp

primary
#B21F4B
secondary
#63CAAB
accent
#EDB83B
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B21F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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