#B22855#B22855

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

Color values

HEX#B22855
RGBrgb(178, 40, 85)
HSLhsl(340, 63%, 43%)
HSVhsv(340, 78%, 70%)
CMYKcmyk(0%, 77.5%, 52.2%, 30.2%)
CIE-LABlab(40.64, 56.98, 8.19)
CIE-LCHlch(40.64, 57.56, 8.18°)
OKLaboklab(51.09% 0.1738 0.0212)
OKLCHoklch(51.09% 0.175 6.9)
XYZxyz(20.7605, 11.6414, 9.7464)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22855 #28B285
analogous
#B2289A #B22855 #B24028
triadic
#B22855 #55B228 #2855B2
tetradic
#B22855 #9AB228 #28B285 #4028B2
square
#B22855 #9AB228 #28B285 #4028B2
split-complementary
#B22855 #28B240 #289AB2
monochromatic
#4E1225 #801D3D #B22855 #D54372 #E07598

Accessibility & contrast

On white

6.31
#B22855 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#B22855 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22855
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22855#FFFFFF#000000##FFFFFF
##B228551.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4E56
Deuteranopia (green-blind)
#706A52
Tritanopia (blue-blind)
#C2003B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b22855;
/* rgb */ color: rgb(178, 40, 85);
/* oklch */ color: oklch(51.1% 0.175 6.9);
Tailwind
colors: {
  custom: {
    50: '#cf6f84',
    500: '#b22855',
    950: '#000000',
  },
}
SCSS
$custom: #b22855;
$custom-light: #cf6f84;
$custom-dark: #000000;
JSON
{
  "hex": "#b22855",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 85
  },
  "hsl": {
    "h": 340.435,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51093,
    "c": 0.17509,
    "h": 6.9
  },
  "luminance": 0.11638
}

Semantic roles & 50–950 ramp

primary
#B22855
secondary
#6FC7AA
accent
#E6B141
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B22855

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

Preview Lab → · Contrast checker → · Palette generator →

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