#B42256#B42256

#B42256 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.182 H 6.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#B42256
RGBrgb(180, 34, 86)
HSLhsl(339, 68%, 42%)
HSVhsv(339, 81%, 71%)
CMYKcmyk(0%, 81.1%, 52.2%, 29.4%)
CIE-LABlab(40.45, 59.33, 7.34)
CIE-LCHlch(40.45, 59.78, 7.05°)
OKLaboklab(51.03% 0.1813 0.0191)
OKLCHoklch(51.03% 0.182 6)
XYZxyz(21.0761, 11.5223, 9.9165)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42256 #22B480
analogous
#B4229F #B42256 #B43722
triadic
#B42256 #56B422 #2256B4
tetradic
#B42256 #9FB422 #22B480 #3722B4
square
#B42256 #9FB422 #22B480 #3722B4
split-complementary
#B42256 #22B437 #229FB4
monochromatic
#4D0F25 #81183D #B42256 #DA3A73 #E36D97

Accessibility & contrast

On white

6.36
#B42256 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42256
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42256#FFFFFF#000000##FFFFFF
##B422561.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42256;
/* rgb */ color: rgb(180, 34, 86);
/* oklch */ color: oklch(51.0% 0.182 6.0);
Tailwind
colors: {
  custom: {
    50: '#d16e85',
    500: '#b42256',
    950: '#000000',
  },
}
SCSS
$custom: #b42256;
$custom-light: #d16e85;
$custom-dark: #000000;
JSON
{
  "hex": "#b42256",
  "rgb": {
    "r": 180,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 338.63,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51029,
    "c": 0.18232,
    "h": 6
  },
  "luminance": 0.11519
}

Semantic roles & 50–950 ramp

primary
#B42256
secondary
#68CAA7
accent
#EBAD3D
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B42256

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

Preview Lab → · Contrast checker → · Palette generator →

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