#B21451#B21451

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

Color values

HEX#B21451
RGBrgb(178, 20, 81)
HSLhsl(337, 80%, 39%)
HSVhsv(337, 89%, 70%)
CMYKcmyk(0%, 88.8%, 54.5%, 30.2%)
CIE-LABlab(38.83, 61.53, 8.19)
CIE-LCHlch(38.83, 62.07, 7.58°)
OKLaboklab(49.73% 0.188 0.0211)
OKLCHoklch(49.73% 0.189 6.4)
XYZxyz(20.0974, 10.5624, 8.7635)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B21451 #14B275
analogous
#B214A0 #B21451 #B22614
triadic
#B21451 #51B214 #1451B2
tetradic
#B21451 #A0B214 #14B275 #2614B2
square
#B21451 #A0B214 #14B275 #2614B2
split-complementary
#B21451 #14B226 #14A0B2
monochromatic
#44081F #7B0E38 #B21451 #E61E6B #EC558F

Accessibility & contrast

On white

6.75
#B21451 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B21451
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B21451#FFFFFF#000000##FFFFFF
##B214511.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444852
Deuteranopia (green-blind)
#6C664D
Tritanopia (blue-blind)
#C30032
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b21451;
/* rgb */ color: rgb(178, 20, 81);
/* oklch */ color: oklch(49.7% 0.189 6.4);
Tailwind
colors: {
  custom: {
    50: '#d06981',
    500: '#b21451',
    950: '#000000',
  },
}
SCSS
$custom: #b21451;
$custom-light: #d06981;
$custom-dark: #000000;
JSON
{
  "hex": "#b21451",
  "rgb": {
    "r": 178,
    "g": 20,
    "b": 81
  },
  "hsl": {
    "h": 336.835,
    "s": 79.798,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49733,
    "c": 0.18922,
    "h": 6.4
  },
  "luminance": 0.10559
}

Semantic roles & 50–950 ramp

primary
#B21451
secondary
#53CE9F
accent
#F6AA32
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15070A
muted
#837A7C

Preview Lab

Preview with #B21451

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

Preview Lab → · Contrast checker → · Palette generator →

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