#B22582#B22582

#B22582 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.5% C 0.196 H 345.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B22582
RGBrgb(178, 37, 130)
HSLhsl(320, 66%, 42%)
HSVhsv(320, 79%, 70%)
CMYKcmyk(0%, 79.2%, 27%, 30.2%)
CIE-LABlab(41.85, 62.46, -18.14)
CIE-LCHlch(41.85, 65.05, 343.80°)
OKLaboklab(52.47% 0.1899 -0.0482)
OKLCHoklch(52.47% 0.196 345.8)
XYZxyz(23.0520, 12.4024, 22.2947)
Luminance0.1240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22582 #25B255
analogous
#9C25B2 #B22582 #B2253B
triadic
#B22582 #82B225 #2582B2
tetradic
#B22582 #B29C25 #25B255 #253BB2
square
#B22582 #B29C25 #25B255 #253BB2
split-complementary
#B22582 #3BB225 #25B29C
monochromatic
#4D1038 #7F1A5D #B22582 #D73DA3 #E170BB

Accessibility & contrast

On white

6.03
#B22582 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B22582 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22582
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22582#FFFFFF#000000##FFFFFF
##B225821.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395484
Deuteranopia (green-blind)
#646B7F
Tritanopia (blue-blind)
#BE2151
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b22582;
/* rgb */ color: rgb(178, 37, 130);
/* oklch */ color: oklch(52.5% 0.196 345.8);
Tailwind
colors: {
  custom: {
    50: '#ce70a6',
    500: '#b22582',
    950: '#000000',
  },
}
SCSS
$custom: #b22582;
$custom-light: #ce70a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b22582",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 130
  },
  "hsl": {
    "h": 320.426,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52472,
    "c": 0.19587,
    "h": 345.8
  },
  "luminance": 0.124
}

Semantic roles & 50–950 ramp

primary
#B22582
secondary
#6BC88B
accent
#E9793F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B22582

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

Preview Lab → · Contrast checker → · Palette generator →

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