#B22752#B22752

#B22752 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.175 H 8.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#B22752
RGBrgb(178, 39, 82)
HSLhsl(341, 64%, 43%)
HSVhsv(341, 78%, 70%)
CMYKcmyk(0%, 78.1%, 53.9%, 30.2%)
CIE-LABlab(40.46, 57.05, 9.83)
CIE-LCHlch(40.46, 57.89, 9.78°)
OKLaboklab(50.93% 0.1737 0.0251)
OKLCHoklch(50.93% 0.175 8.2)
XYZxyz(20.6105, 11.5281, 9.1209)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22752 #27B287
analogous
#B22797 #B22752 #B24227
triadic
#B22752 #52B227 #2752B2
tetradic
#B22752 #97B227 #27B287 #4227B2
square
#B22752 #97B227 #27B287 #4227B2
split-complementary
#B22752 #27B242 #2797B2
monochromatic
#4E1124 #801C3B #B22752 #D5416F #E07395

Accessibility & contrast

On white

6.35
#B22752 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#B22752 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22752
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22752#FFFFFF#000000##FFFFFF
##B227521.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4E53
Deuteranopia (green-blind)
#70694F
Tritanopia (blue-blind)
#C2003A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b22752;
/* rgb */ color: rgb(178, 39, 82);
/* oklch */ color: oklch(50.9% 0.175 8.2);
Tailwind
colors: {
  custom: {
    50: '#cf6f82',
    500: '#b22752',
    950: '#000000',
  },
}
SCSS
$custom: #b22752;
$custom-light: #cf6f82;
$custom-dark: #000000;
JSON
{
  "hex": "#b22752",
  "rgb": {
    "r": 178,
    "g": 39,
    "b": 82
  },
  "hsl": {
    "h": 341.439,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50933,
    "c": 0.17546,
    "h": 8.2
  },
  "luminance": 0.11525
}

Semantic roles & 50–950 ramp

primary
#B22752
secondary
#6DC8AC
accent
#E7B441
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B22752

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

Preview Lab → · Contrast checker → · Palette generator →

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