#B21452#B21452

#B21452 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.8% C 0.189 H 5.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#B21452
RGBrgb(178, 20, 82)
HSLhsl(336, 80%, 39%)
HSVhsv(336, 89%, 70%)
CMYKcmyk(0%, 88.8%, 53.9%, 30.2%)
CIE-LABlab(38.86, 61.60, 7.59)
CIE-LCHlch(38.86, 62.07, 7.02°)
OKLaboklab(49.76% 0.1884 0.0196)
OKLCHoklch(49.76% 0.189 5.9)
XYZxyz(20.1352, 10.5775, 8.9624)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B21452 #14B274
analogous
#B214A1 #B21452 #B22514
triadic
#B21452 #52B214 #1452B2
tetradic
#B21452 #A1B214 #14B274 #2514B2
square
#B21452 #A1B214 #14B274 #2514B2
split-complementary
#B21452 #14B225 #14A1B2
monochromatic
#44081F #7B0E39 #B21452 #E61E6C #EC5590

Accessibility & contrast

On white

6.74
#B21452 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#B21452 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B21452
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B21452#FFFFFF#000000##FFFFFF
##B214521.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444853
Deuteranopia (green-blind)
#6C664E
Tritanopia (blue-blind)
#C30033
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b21452;
/* rgb */ color: rgb(178, 20, 82);
/* oklch */ color: oklch(49.8% 0.189 5.9);
Tailwind
colors: {
  custom: {
    50: '#d06982',
    500: '#b21452',
    950: '#000000',
  },
}
SCSS
$custom: #b21452;
$custom-light: #d06982;
$custom-dark: #000000;
JSON
{
  "hex": "#b21452",
  "rgb": {
    "r": 178,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 336.456,
    "s": 79.798,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4976,
    "c": 0.18943,
    "h": 5.9
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

primary
#B21452
secondary
#53CE9E
accent
#F6A932
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15070A
muted
#837A7C

Preview Lab

Preview with #B21452

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

Preview Lab → · Contrast checker → · Palette generator →

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