#B22852#B22852

#B22852 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.175 H 8.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#B22852
RGBrgb(178, 40, 82)
HSLhsl(342, 63%, 43%)
HSVhsv(342, 78%, 70%)
CMYKcmyk(0%, 77.5%, 53.9%, 30.2%)
CIE-LABlab(40.56, 56.74, 9.98)
CIE-LCHlch(40.56, 57.61, 9.98°)
OKLaboklab(51.01% 0.1727 0.0255)
OKLCHoklch(51.01% 0.175 8.4)
XYZxyz(20.6438, 11.5947, 9.1320)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22852 #28B288
analogous
#B22897 #B22852 #B24328
triadic
#B22852 #52B228 #2852B2
tetradic
#B22852 #97B228 #28B288 #4328B2
square
#B22852 #97B228 #28B288 #4328B2
split-complementary
#B22852 #28B243 #2897B2
monochromatic
#4E1224 #801D3B #B22852 #D5436F #E07595

Accessibility & contrast

On white

6.33
#B22852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#B22852 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22852
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22852#FFFFFF#000000##FFFFFF
##B228521.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b22852;
/* rgb */ color: rgb(178, 40, 82);
/* oklch */ color: oklch(51.0% 0.175 8.4);
Tailwind
colors: {
  custom: {
    50: '#cf6f82',
    500: '#b22852',
    950: '#000000',
  },
}
SCSS
$custom: #b22852;
$custom-light: #cf6f82;
$custom-dark: #000000;
JSON
{
  "hex": "#b22852",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 341.739,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51013,
    "c": 0.17454,
    "h": 8.4
  },
  "luminance": 0.11592
}

Semantic roles & 50–950 ramp

primary
#B22852
secondary
#6FC7AC
accent
#E6B441
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B22852

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

Preview Lab → · Contrast checker → · Palette generator →

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