#B22456#B22456

#B22456 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.179 H 5.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B22456
RGBrgb(178, 36, 86)
HSLhsl(339, 66%, 42%)
HSVhsv(339, 80%, 70%)
CMYKcmyk(0%, 79.8%, 51.7%, 30.2%)
CIE-LABlab(40.25, 58.24, 7.00)
CIE-LCHlch(40.25, 58.66, 6.86°)
OKLaboklab(50.81% 0.178 0.0183)
OKLCHoklch(50.81% 0.179 5.9)
XYZxyz(20.6726, 11.4015, 9.9145)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22456 #24B280
analogous
#B2249D #B22456 #B23924
triadic
#B22456 #56B224 #2456B2
tetradic
#B22456 #9DB224 #24B280 #3924B2
square
#B22456 #9DB224 #24B280 #3924B2
split-complementary
#B22456 #24B239 #249DB2
monochromatic
#4C0F25 #7F1A3D #B22456 #D83C73 #E26F97

Accessibility & contrast

On white

6.40
#B22456 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#B22456 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22456
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22456#FFFFFF#000000##FFFFFF
##B224561.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494D57
Deuteranopia (green-blind)
#6F6953
Tritanopia (blue-blind)
#C2003A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b22456;
/* rgb */ color: rgb(178, 36, 86);
/* oklch */ color: oklch(50.8% 0.179 5.9);
Tailwind
colors: {
  custom: {
    50: '#cf6e85',
    500: '#b22456',
    950: '#000000',
  },
}
SCSS
$custom: #b22456;
$custom-light: #cf6e85;
$custom-dark: #000000;
JSON
{
  "hex": "#b22456",
  "rgb": {
    "r": 178,
    "g": 36,
    "b": 86
  },
  "hsl": {
    "h": 338.873,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50814,
    "c": 0.17893,
    "h": 5.9
  },
  "luminance": 0.11399
}

Semantic roles & 50–950 ramp

primary
#B22456
secondary
#69C8A7
accent
#E9AD3F
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B22456

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

Preview Lab → · Contrast checker → · Palette generator →

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