#B22957#B22957

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

Color values

HEX#B22957
RGBrgb(178, 41, 87)
HSLhsl(340, 63%, 43%)
HSVhsv(340, 77%, 70%)
CMYKcmyk(0%, 77%, 51.1%, 30.2%)
CIE-LABlab(40.80, 56.83, 7.16)
CIE-LCHlch(40.80, 57.28, 7.18°)
OKLaboklab(51.23% 0.1736 0.0187)
OKLCHoklch(51.23% 0.175 6.1)
XYZxyz(20.8752, 11.7419, 10.1822)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22957 #29B284
analogous
#B2299B #B22957 #B23F29
triadic
#B22957 #57B229 #2957B2
tetradic
#B22957 #9BB229 #29B284 #3F29B2
square
#B22957 #9BB229 #29B284 #3F29B2
split-complementary
#B22957 #29B23F #299BB2
monochromatic
#4F1226 #801E3F #B22957 #D44474 #DF7699

Accessibility & contrast

On white

6.27
#B22957 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B22957 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22957
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22957#FFFFFF#000000##FFFFFF
##B229571.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4F58
Deuteranopia (green-blind)
#706A54
Tritanopia (blue-blind)
#C2003D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b22957;
/* rgb */ color: rgb(178, 41, 87);
/* oklch */ color: oklch(51.2% 0.175 6.1);
Tailwind
colors: {
  custom: {
    50: '#cf7086',
    500: '#b22957',
    950: '#000000',
  },
}
SCSS
$custom: #b22957;
$custom-light: #cf7086;
$custom-dark: #000000;
JSON
{
  "hex": "#b22957",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 87
  },
  "hsl": {
    "h": 339.854,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5123,
    "c": 0.17455,
    "h": 6.1
  },
  "luminance": 0.11739
}

Semantic roles & 50–950 ramp

primary
#B22957
secondary
#70C7AA
accent
#E6AF42
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B22957

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

Preview Lab → · Contrast checker → · Palette generator →

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