#B22857#B22857

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

Color values

HEX#B22857
RGBrgb(178, 40, 87)
HSLhsl(340, 63%, 43%)
HSVhsv(340, 78%, 70%)
CMYKcmyk(0%, 77.5%, 51.1%, 30.2%)
CIE-LABlab(40.69, 57.14, 7.00)
CIE-LCHlch(40.69, 57.57, 6.98°)
OKLaboklab(51.15% 0.1746 0.0183)
OKLCHoklch(51.15% 0.176 6)
XYZxyz(20.8411, 11.6736, 10.1708)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22857 #28B283
analogous
#B2289C #B22857 #B23E28
triadic
#B22857 #57B228 #2857B2
tetradic
#B22857 #9CB228 #28B283 #3E28B2
square
#B22857 #9CB228 #28B283 #3E28B2
split-complementary
#B22857 #28B23E #289CB2
monochromatic
#4E1226 #801D3F #B22857 #D54374 #E07599

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B22857#FFFFFF#000000##FFFFFF
##B228571.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)
#4B4E58
Deuteranopia (green-blind)
#6F6A54
Tritanopia (blue-blind)
#C2003C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b22857;
/* rgb */ color: rgb(178, 40, 87);
/* oklch */ color: oklch(51.1% 0.175 6.0);
Tailwind
colors: {
  custom: {
    50: '#cf6f86',
    500: '#b22857',
    950: '#000000',
  },
}
SCSS
$custom: #b22857;
$custom-light: #cf6f86;
$custom-dark: #000000;
JSON
{
  "hex": "#b22857",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 87
  },
  "hsl": {
    "h": 339.565,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51149,
    "c": 0.1755,
    "h": 6
  },
  "luminance": 0.11671
}

Semantic roles & 50–950 ramp

primary
#B22857
secondary
#6FC7A9
accent
#E6AE41
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B22857

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

Preview Lab → · Contrast checker → · Palette generator →

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