#B22558#B22558

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

Color values

HEX#B22558
RGBrgb(178, 37, 88)
HSLhsl(338, 66%, 42%)
HSVhsv(338, 79%, 70%)
CMYKcmyk(0%, 79.2%, 50.6%, 30.2%)
CIE-LABlab(40.40, 58.12, 5.96)
CIE-LCHlch(40.40, 58.42, 5.85°)
OKLaboklab(50.94% 0.1778 0.0157)
OKLCHoklch(50.94% 0.179 5)
XYZxyz(20.7850, 11.4956, 10.3550)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22558 #25B27F
analogous
#B2259E #B22558 #B23925
triadic
#B22558 #58B225 #2558B2
tetradic
#B22558 #9EB225 #25B27F #3925B2
square
#B22558 #9EB225 #25B27F #3925B2
split-complementary
#B22558 #25B239 #259EB2
monochromatic
#4D1026 #7F1A3F #B22558 #D73D75 #E17099

Accessibility & contrast

On white

6.37
#B22558 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22558
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22558#FFFFFF#000000##FFFFFF
##B225581.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b22558;
/* rgb */ color: rgb(178, 37, 88);
/* oklch */ color: oklch(50.9% 0.178 5.0);
Tailwind
colors: {
  custom: {
    50: '#cf6e86',
    500: '#b22558',
    950: '#000000',
  },
}
SCSS
$custom: #b22558;
$custom-light: #cf6e86;
$custom-dark: #000000;
JSON
{
  "hex": "#b22558",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 88
  },
  "hsl": {
    "h": 338.298,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50944,
    "c": 0.1785,
    "h": 5
  },
  "luminance": 0.11493
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B22558

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

Preview Lab → · Contrast checker → · Palette generator →

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