#B22586#B22586

#B22586 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.6% C 0.198 H 344.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#B22586
RGBrgb(178, 37, 134)
HSLhsl(319, 66%, 42%)
HSVhsv(319, 79%, 70%)
CMYKcmyk(0%, 79.2%, 24.7%, 30.2%)
CIE-LABlab(42.02, 62.96, -20.34)
CIE-LCHlch(42.02, 66.17, 342.10°)
OKLaboklab(52.65% 0.1906 -0.0543)
OKLCHoklch(52.65% 0.198 344.1)
XYZxyz(23.3257, 12.5119, 23.7363)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22586 #25B251
analogous
#9725B2 #B22586 #B22540
triadic
#B22586 #86B225 #2586B2
tetradic
#B22586 #B29725 #25B251 #2540B2
square
#B22586 #B29725 #25B251 #2540B2
split-complementary
#B22586 #40B225 #25B297
monochromatic
#4D103A #7F1A60 #B22586 #D73DA7 #E170BE

Accessibility & contrast

On white

6.00
#B22586 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B22586 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22586
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22586#FFFFFF#000000##FFFFFF
##B225861.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375489
Deuteranopia (green-blind)
#636B83
Tritanopia (blue-blind)
#BE2453
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b22586;
/* rgb */ color: rgb(178, 37, 134);
/* oklch */ color: oklch(52.6% 0.198 344.1);
Tailwind
colors: {
  custom: {
    50: '#cd70a9',
    500: '#b22586',
    950: '#000000',
  },
}
SCSS
$custom: #b22586;
$custom-light: #cd70a9;
$custom-dark: #000000;
JSON
{
  "hex": "#b22586",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 318.723,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5265,
    "c": 0.19817,
    "h": 344.1
  },
  "luminance": 0.12509
}

Semantic roles & 50–950 ramp

primary
#B22586
secondary
#6BC888
accent
#E9743F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B22586

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

Preview Lab → · Contrast checker → · Palette generator →

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