#B22859#B22859

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

Color values

HEX#B22859
RGBrgb(178, 40, 89)
HSLhsl(339, 63%, 43%)
HSVhsv(339, 78%, 70%)
CMYKcmyk(0%, 77.5%, 50%, 30.2%)
CIE-LABlab(40.75, 57.31, 5.81)
CIE-LCHlch(40.75, 57.60, 5.79°)
OKLaboklab(51.21% 0.1753 0.0154)
OKLCHoklch(51.21% 0.176 5)
XYZxyz(20.9239, 11.7067, 10.6071)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22859 #28B281
analogous
#B2289E #B22859 #B23C28
triadic
#B22859 #59B228 #2859B2
tetradic
#B22859 #9EB228 #28B281 #3C28B2
square
#B22859 #9EB228 #28B281 #3C28B2
split-complementary
#B22859 #28B23C #289EB2
monochromatic
#4E1227 #801D40 #B22859 #D54376 #E0759B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B22859#FFFFFF#000000##FFFFFF
##B228591.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)
#4B4F5A
Deuteranopia (green-blind)
#6F6A56
Tritanopia (blue-blind)
#C2003D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b22859;
/* rgb */ color: rgb(178, 40, 89);
/* oklch */ color: oklch(51.2% 0.176 5.0);
Tailwind
colors: {
  custom: {
    50: '#cf7087',
    500: '#b22859',
    950: '#000000',
  },
}
SCSS
$custom: #b22859;
$custom-light: #cf7087;
$custom-dark: #000000;
JSON
{
  "hex": "#b22859",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 89
  },
  "hsl": {
    "h": 338.696,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51206,
    "c": 0.17596,
    "h": 5
  },
  "luminance": 0.11704
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B22859

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

Preview Lab → · Contrast checker → · Palette generator →

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