#B22951#B22951

#B22951 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.173 H 9.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#B22951
RGBrgb(178, 41, 81)
HSLhsl(342, 63%, 43%)
HSVhsv(342, 77%, 70%)
CMYKcmyk(0%, 77%, 54.5%, 30.2%)
CIE-LABlab(40.65, 56.35, 10.73)
CIE-LCHlch(40.65, 57.36, 10.78°)
OKLaboklab(51.07% 0.1713 0.0273)
OKLCHoklch(51.07% 0.173 9.1)
XYZxyz(20.6402, 11.6479, 8.9444)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22951 #29B28A
analogous
#B22995 #B22951 #B24629
triadic
#B22951 #51B229 #2951B2
tetradic
#B22951 #95B229 #29B28A #4629B2
square
#B22951 #95B229 #29B28A #4629B2
split-complementary
#B22951 #29B246 #2995B2
monochromatic
#4F1224 #801E3A #B22951 #D4446E #DF7695

Accessibility & contrast

On white

6.31
#B22951 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#B22951 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22951
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22951#FFFFFF#000000##FFFFFF
##B229511.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4E52
Deuteranopia (green-blind)
#716A4E
Tritanopia (blue-blind)
#C2003A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b22951;
/* rgb */ color: rgb(178, 41, 81);
/* oklch */ color: oklch(51.1% 0.173 9.1);
Tailwind
colors: {
  custom: {
    50: '#cf7081',
    500: '#b22951',
    950: '#000000',
  },
}
SCSS
$custom: #b22951;
$custom-light: #cf7081;
$custom-dark: #000000;
JSON
{
  "hex": "#b22951",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 81
  },
  "hsl": {
    "h": 342.482,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51068,
    "c": 0.17343,
    "h": 9.1
  },
  "luminance": 0.11645
}

Semantic roles & 50–950 ramp

primary
#B22951
secondary
#70C7AE
accent
#E6B642
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B22951

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

Preview Lab → · Contrast checker → · Palette generator →

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