#B22559#B22559

#B22559 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.179 H 4.6°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#B22559
RGBrgb(178, 37, 89)
HSLhsl(338, 66%, 42%)
HSVhsv(338, 79%, 70%)
CMYKcmyk(0%, 79.2%, 50%, 30.2%)
CIE-LABlab(40.43, 58.20, 5.36)
CIE-LCHlch(40.43, 58.45, 5.26°)
OKLaboklab(50.97% 0.1782 0.0142)
OKLCHoklch(50.97% 0.179 4.6)
XYZxyz(20.8267, 11.5123, 10.5747)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22559 #25B27E
analogous
#B225A0 #B22559 #B23725
triadic
#B22559 #59B225 #2559B2
tetradic
#B22559 #A0B225 #25B27E #3725B2
square
#B22559 #A0B225 #25B27E #3725B2
split-complementary
#B22559 #25B237 #25A0B2
monochromatic
#4D1026 #7F1A40 #B22559 #D73D76 #E1709A

Accessibility & contrast

On white

6.36
#B22559 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#B22559 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22559
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22559#FFFFFF#000000##FFFFFF
##B225591.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494E5A
Deuteranopia (green-blind)
#6E6956
Tritanopia (blue-blind)
#C2003C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b22559;
/* rgb */ color: rgb(178, 37, 89);
/* oklch */ color: oklch(51.0% 0.179 4.6);
Tailwind
colors: {
  custom: {
    50: '#cf6e87',
    500: '#b22559',
    950: '#000000',
  },
}
SCSS
$custom: #b22559;
$custom-light: #cf6e87;
$custom-dark: #000000;
JSON
{
  "hex": "#b22559",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 89
  },
  "hsl": {
    "h": 337.872,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50973,
    "c": 0.17874,
    "h": 4.6
  },
  "luminance": 0.11509
}

Semantic roles & 50–950 ramp

primary
#B22559
secondary
#6BC8A6
accent
#E9AA3F
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B22559

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

Preview Lab → · Contrast checker → · Palette generator →

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