#B22557#B22557

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

Color values

HEX#B22557
RGBrgb(178, 37, 87)
HSLhsl(339, 66%, 42%)
HSVhsv(339, 79%, 70%)
CMYKcmyk(0%, 79.2%, 51.1%, 30.2%)
CIE-LABlab(40.38, 58.04, 6.55)
CIE-LCHlch(40.38, 58.41, 6.44°)
OKLaboklab(50.92% 0.1774 0.0172)
OKLCHoklch(50.92% 0.178 5.5)
XYZxyz(20.7438, 11.4792, 10.1384)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22557 #25B280
analogous
#B2259E #B22557 #B23925
triadic
#B22557 #57B225 #2557B2
tetradic
#B22557 #9EB225 #25B280 #3925B2
square
#B22557 #9EB225 #25B280 #3925B2
split-complementary
#B22557 #25B239 #259EB2
monochromatic
#4D1025 #7F1A3E #B22557 #D73D74 #E17098

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B22557#FFFFFF#000000##FFFFFF
##B225571.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)
#4A4D58
Deuteranopia (green-blind)
#6F6954
Tritanopia (blue-blind)
#C2003B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b22557;
/* rgb */ color: rgb(178, 37, 87);
/* oklch */ color: oklch(50.9% 0.178 5.5);
Tailwind
colors: {
  custom: {
    50: '#cf6e86',
    500: '#b22557',
    950: '#000000',
  },
}
SCSS
$custom: #b22557;
$custom-light: #cf6e86;
$custom-dark: #000000;
JSON
{
  "hex": "#b22557",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 87
  },
  "hsl": {
    "h": 338.723,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50916,
    "c": 0.17827,
    "h": 5.5
  },
  "luminance": 0.11476
}

Semantic roles & 50–950 ramp

primary
#B22557
secondary
#6BC8A7
accent
#E9AD3F
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B22557

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

Preview Lab → · Contrast checker → · Palette generator →

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