#B22952#B22952

#B22952 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.174 H 8.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B22952
RGBrgb(178, 41, 82)
HSLhsl(342, 63%, 43%)
HSVhsv(342, 77%, 70%)
CMYKcmyk(0%, 77%, 53.9%, 30.2%)
CIE-LABlab(40.68, 56.43, 10.13)
CIE-LCHlch(40.68, 57.33, 10.18°)
OKLaboklab(51.09% 0.1717 0.0259)
OKLCHoklch(51.09% 0.174 8.6)
XYZxyz(20.6780, 11.6630, 9.1433)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22952 #29B289
analogous
#B22996 #B22952 #B24529
triadic
#B22952 #52B229 #2952B2
tetradic
#B22952 #96B229 #29B289 #4529B2
square
#B22952 #96B229 #29B289 #4529B2
split-complementary
#B22952 #29B245 #2996B2
monochromatic
#4F1224 #801E3B #B22952 #D4446F #DF7696

Accessibility & contrast

On white

6.30
#B22952 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22952
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22952#FFFFFF#000000##FFFFFF
##B229521.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4E53
Deuteranopia (green-blind)
#706A4F
Tritanopia (blue-blind)
#C2003B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b22952;
/* rgb */ color: rgb(178, 41, 82);
/* oklch */ color: oklch(51.1% 0.174 8.6);
Tailwind
colors: {
  custom: {
    50: '#cf7082',
    500: '#b22952',
    950: '#000000',
  },
}
SCSS
$custom: #b22952;
$custom-light: #cf7082;
$custom-dark: #000000;
JSON
{
  "hex": "#b22952",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 82
  },
  "hsl": {
    "h": 342.044,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51094,
    "c": 0.1736,
    "h": 8.6
  },
  "luminance": 0.1166
}

Semantic roles & 50–950 ramp

primary
#B22952
secondary
#70C7AD
accent
#E6B542
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B22952

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

Preview Lab → · Contrast checker → · Palette generator →

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