#B21F48#B21F48

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

Color values

HEX#B21F48
RGBrgb(178, 31, 72)
HSLhsl(343, 70%, 41%)
HSVhsv(343, 83%, 70%)
CMYKcmyk(0%, 82.6%, 59.6%, 30.2%)
CIE-LABlab(39.44, 58.55, 14.77)
CIE-LCHlch(39.44, 60.38, 14.16°)
OKLaboklab(50.11% 0.177 0.0366)
OKLCHoklch(50.11% 0.181 11.7)
XYZxyz(20.0219, 10.9158, 7.1823)
Luminance0.1091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B21F48 #1FB289
analogous
#B21F91 #B21F48 #B23F1F
triadic
#B21F48 #48B21F #1F48B2
tetradic
#B21F48 #91B21F #1FB289 #3F1FB2
square
#B21F48 #91B21F #1FB289 #3F1FB2
split-complementary
#B21F48 #1FB23F #1F91B2
monochromatic
#4A0D1E #7E1633 #B21F48 #DB3362 #E5678A

Accessibility & contrast

On white

6.60
#B21F48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B21F48
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B21F48#FFFFFF#000000##FFFFFF
##B21F481.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4A49
Deuteranopia (green-blind)
#706744
Tritanopia (blue-blind)
#C30031
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b21f48;
/* rgb */ color: rgb(178, 31, 72);
/* oklch */ color: oklch(50.1% 0.181 11.7);
Tailwind
colors: {
  custom: {
    50: '#d06c7a',
    500: '#b21f48',
    950: '#000000',
  },
}
SCSS
$custom: #b21f48;
$custom-light: #d06c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b21f48",
  "rgb": {
    "r": 178,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 343.265,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50107,
    "c": 0.1807,
    "h": 11.7
  },
  "luminance": 0.10913
}

Semantic roles & 50–950 ramp

primary
#B21F48
secondary
#63CAAD
accent
#EDBB3B
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #B21F48

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

Preview Lab → · Contrast checker → · Palette generator →

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