#B21F49#B21F49

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

Color values

HEX#B21F49
RGBrgb(178, 31, 73)
HSLhsl(343, 70%, 41%)
HSVhsv(343, 83%, 70%)
CMYKcmyk(0%, 82.6%, 59%, 30.2%)
CIE-LABlab(39.46, 58.61, 14.17)
CIE-LCHlch(39.46, 60.30, 13.59°)
OKLaboklab(50.13% 0.1773 0.0352)
OKLCHoklch(50.13% 0.181 11.2)
XYZxyz(20.0547, 10.9290, 7.3556)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B21F49 #1FB288
analogous
#B21F92 #B21F49 #B23E1F
triadic
#B21F49 #49B21F #1F49B2
tetradic
#B21F49 #92B21F #1FB288 #3E1FB2
square
#B21F49 #92B21F #1FB288 #3E1FB2
split-complementary
#B21F49 #1FB23E #1F92B2
monochromatic
#4A0D1E #7E1634 #B21F49 #DB3363 #E5678B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B21F49#FFFFFF#000000##FFFFFF
##B21F491.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)
#4A4A4A
Deuteranopia (green-blind)
#6F6845
Tritanopia (blue-blind)
#C30032
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b21f49;
/* rgb */ color: rgb(178, 31, 73);
/* oklch */ color: oklch(50.1% 0.181 11.2);
Tailwind
colors: {
  custom: {
    50: '#d06c7b',
    500: '#b21f49',
    950: '#000000',
  },
}
SCSS
$custom: #b21f49;
$custom-light: #d06c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b21f49",
  "rgb": {
    "r": 178,
    "g": 31,
    "b": 73
  },
  "hsl": {
    "h": 342.857,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5013,
    "c": 0.18081,
    "h": 11.2
  },
  "luminance": 0.10926
}

Semantic roles & 50–950 ramp

primary
#B21F49
secondary
#63CAAC
accent
#EDBA3B
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #B21F49

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

Preview Lab → · Contrast checker → · Palette generator →

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