#B22956#B22956

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

Color values

HEX#B22956
RGBrgb(178, 41, 86)
HSLhsl(340, 63%, 43%)
HSVhsv(340, 77%, 70%)
CMYKcmyk(0%, 77%, 51.7%, 30.2%)
CIE-LABlab(40.78, 56.75, 7.75)
CIE-LCHlch(40.78, 57.28, 7.78°)
OKLaboklab(51.2% 0.1732 0.0201)
OKLCHoklch(51.2% 0.174 6.6)
XYZxyz(20.8346, 11.7256, 9.9685)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22956 #29B285
analogous
#B2299A #B22956 #B24029
triadic
#B22956 #56B229 #2956B2
tetradic
#B22956 #9AB229 #29B285 #4029B2
square
#B22956 #9AB229 #29B285 #4029B2
split-complementary
#B22956 #29B240 #299AB2
monochromatic
#4F1226 #801E3E #B22956 #D44473 #DF7699

Accessibility & contrast

On white

6.28
#B22956 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B22956 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22956
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22956#FFFFFF#000000##FFFFFF
##B229561.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b22956;
/* rgb */ color: rgb(178, 41, 86);
/* oklch */ color: oklch(51.2% 0.174 6.6);
Tailwind
colors: {
  custom: {
    50: '#cf7085',
    500: '#b22956',
    950: '#000000',
  },
}
SCSS
$custom: #b22956;
$custom-light: #cf7085;
$custom-dark: #000000;
JSON
{
  "hex": "#b22956",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 86
  },
  "hsl": {
    "h": 340.292,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51202,
    "c": 0.17434,
    "h": 6.6
  },
  "luminance": 0.11723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B22956

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

Preview Lab → · Contrast checker → · Palette generator →

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