#B22858#B22858

#B22858 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.176 H 5.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#B22858
RGBrgb(178, 40, 88)
HSLhsl(339, 63%, 43%)
HSVhsv(339, 78%, 70%)
CMYKcmyk(0%, 77.5%, 50.6%, 30.2%)
CIE-LABlab(40.72, 57.23, 6.41)
CIE-LCHlch(40.72, 57.58, 6.39°)
OKLaboklab(51.18% 0.1749 0.0168)
OKLCHoklch(51.18% 0.176 5.5)
XYZxyz(20.8822, 11.6900, 10.3874)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22858 #28B282
analogous
#B2289D #B22858 #B23D28
triadic
#B22858 #58B228 #2858B2
tetradic
#B22858 #9DB228 #28B282 #3D28B2
square
#B22858 #9DB228 #28B282 #3D28B2
split-complementary
#B22858 #28B23D #289DB2
monochromatic
#4E1227 #801D3F #B22858 #D54375 #E0759A

Accessibility & contrast

On white

6.29
#B22858 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B22858 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22858
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22858#FFFFFF#000000##FFFFFF
##B228581.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4F59
Deuteranopia (green-blind)
#6F6A55
Tritanopia (blue-blind)
#C2003D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b22858;
/* rgb */ color: rgb(178, 40, 88);
/* oklch */ color: oklch(51.2% 0.176 5.5);
Tailwind
colors: {
  custom: {
    50: '#cf7086',
    500: '#b22858',
    950: '#000000',
  },
}
SCSS
$custom: #b22858;
$custom-light: #cf7086;
$custom-dark: #000000;
JSON
{
  "hex": "#b22858",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 88
  },
  "hsl": {
    "h": 339.13,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51177,
    "c": 0.17573,
    "h": 5.5
  },
  "luminance": 0.11687
}

Semantic roles & 50–950 ramp

primary
#B22858
secondary
#6FC7A8
accent
#E6AD41
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B22858

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

Preview Lab → · Contrast checker → · Palette generator →

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