#B22157#B22157

#B22157 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.182 H 5.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B22157
RGBrgb(178, 33, 87)
HSLhsl(338, 69%, 41%)
HSVhsv(338, 81%, 70%)
CMYKcmyk(0%, 81.5%, 51.1%, 30.2%)
CIE-LABlab(39.99, 59.14, 6.00)
CIE-LCHlch(39.99, 59.44, 5.79°)
OKLaboklab(50.63% 0.181 0.0158)
OKLCHoklch(50.63% 0.182 5)
XYZxyz(20.6261, 11.2437, 10.0991)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22157 #21B27C
analogous
#B221A0 #B22157 #B23421
triadic
#B22157 #57B221 #2157B2
tetradic
#B22157 #A0B221 #21B27C #3421B2
square
#B22157 #A0B221 #21B27C #3421B2
split-complementary
#B22157 #21B234 #21A0B2
monochromatic
#4B0E25 #7E173E #B22157 #DA3673 #E36A97

Accessibility & contrast

On white

6.47
#B22157 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#B22157 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22157
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22157#FFFFFF#000000##FFFFFF
##B221571.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484C58
Deuteranopia (green-blind)
#6E6854
Tritanopia (blue-blind)
#C20039
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b22157;
/* rgb */ color: rgb(178, 33, 87);
/* oklch */ color: oklch(50.6% 0.182 5.0);
Tailwind
colors: {
  custom: {
    50: '#cf6d86',
    500: '#b22157',
    950: '#000000',
  },
}
SCSS
$custom: #b22157;
$custom-light: #cf6d86;
$custom-dark: #000000;
JSON
{
  "hex": "#b22157",
  "rgb": {
    "r": 178,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 337.655,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50631,
    "c": 0.18169,
    "h": 5
  },
  "luminance": 0.11241
}

Semantic roles & 50–950 ramp

primary
#B22157
secondary
#66C9A4
accent
#ECAA3C
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B22157

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

Preview Lab → · Contrast checker → · Palette generator →

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