#B22856#B22856

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

Color values

HEX#B22856
RGBrgb(178, 40, 86)
HSLhsl(340, 63%, 43%)
HSVhsv(340, 78%, 70%)
CMYKcmyk(0%, 77.5%, 51.7%, 30.2%)
CIE-LABlab(40.67, 57.06, 7.59)
CIE-LCHlch(40.67, 57.56, 7.58°)
OKLaboklab(51.12% 0.1742 0.0197)
OKLCHoklch(51.12% 0.175 6.5)
XYZxyz(20.8005, 11.6574, 9.9571)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22856 #28B284
analogous
#B2289B #B22856 #B23F28
triadic
#B22856 #56B228 #2856B2
tetradic
#B22856 #9BB228 #28B284 #3F28B2
square
#B22856 #9BB228 #28B284 #3F28B2
split-complementary
#B22856 #28B23F #289BB2
monochromatic
#4E1226 #801D3E #B22856 #D54373 #E07598

Accessibility & contrast

On white

6.30
#B22856 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22856
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22856#FFFFFF#000000##FFFFFF
##B228561.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4E57
Deuteranopia (green-blind)
#706A53
Tritanopia (blue-blind)
#C2003C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b22856;
/* rgb */ color: rgb(178, 40, 86);
/* oklch */ color: oklch(51.1% 0.175 6.5);
Tailwind
colors: {
  custom: {
    50: '#cf6f85',
    500: '#b22856',
    950: '#000000',
  },
}
SCSS
$custom: #b22856;
$custom-light: #cf6f85;
$custom-dark: #000000;
JSON
{
  "hex": "#b22856",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 86
  },
  "hsl": {
    "h": 340,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51121,
    "c": 0.17529,
    "h": 6.5
  },
  "luminance": 0.11654
}

Semantic roles & 50–950 ramp

primary
#B22856
secondary
#6FC7AA
accent
#E6AF41
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B22856

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

Preview Lab → · Contrast checker → · Palette generator →

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