#B42296#B42296

#B42296 is a mid, highly saturated pink. Relative luminance 0.130; OKLCH L 53.5% C 0.212 H 338.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B42296
RGBrgb(180, 34, 150)
HSLhsl(312, 68%, 42%)
HSVhsv(312, 81%, 71%)
CMYKcmyk(0%, 81.1%, 16.7%, 29.4%)
CIE-LABlab(42.84, 66.31, -28.77)
CIE-LCHlch(42.84, 72.28, 336.54°)
OKLaboklab(53.55% 0.1969 -0.0781)
OKLCHoklch(53.55% 0.212 338.4)
XYZxyz(24.9001, 13.0518, 30.0562)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42296 #22B440
analogous
#8922B4 #B42296 #B4224D
triadic
#B42296 #96B422 #2296B4
tetradic
#B42296 #B48922 #22B440 #224DB4
square
#B42296 #B48922 #22B440 #224DB4
split-complementary
#B42296 #4DB422 #22B489
monochromatic
#4D0F40 #81186B #B42296 #DA3AB9 #E36DCB

Accessibility & contrast

On white

5.82
#B42296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B42296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42296
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42296#FFFFFF#000000##FFFFFF
##B422961.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5799
Deuteranopia (green-blind)
#5E6D93
Tritanopia (blue-blind)
#BE2B5C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42296;
/* rgb */ color: rgb(180, 34, 150);
/* oklch */ color: oklch(53.5% 0.212 338.4);
Tailwind
colors: {
  custom: {
    50: '#cf70b5',
    500: '#b42296',
    950: '#000000',
  },
}
SCSS
$custom: #b42296;
$custom-light: #cf70b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b42296",
  "rgb": {
    "r": 180,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 312.329,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53549,
    "c": 0.21184,
    "h": 338.4
  },
  "luminance": 0.13049
}

Semantic roles & 50–950 ramp

primary
#B42296
secondary
#68CA7C
accent
#EB613D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42296

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

Preview Lab → · Contrast checker → · Palette generator →

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