#B22386#B22386

#B22386 is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.5% C 0.200 H 344.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B22386
RGBrgb(178, 35, 134)
HSLhsl(318, 67%, 42%)
HSVhsv(318, 80%, 70%)
CMYKcmyk(0%, 80.3%, 24.7%, 30.2%)
CIE-LABlab(41.83, 63.50, -20.63)
CIE-LCHlch(41.83, 66.77, 342.00°)
OKLaboklab(52.52% 0.1923 -0.0551)
OKLCHoklch(52.52% 0.2 344)
XYZxyz(23.2652, 12.3908, 23.7161)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22386 #23B24F
analogous
#9723B2 #B22386 #B2233E
triadic
#B22386 #86B223 #2386B2
tetradic
#B22386 #B29723 #23B24F #233EB2
square
#B22386 #B29723 #23B24F #233EB2
split-complementary
#B22386 #3EB223 #23B297
monochromatic
#4C0F39 #7F195F #B22386 #D83AA8 #E26DBE

Accessibility & contrast

On white

6.04
#B22386 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22386
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22386#FFFFFF#000000##FFFFFF
##B223861.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b22386;
/* rgb */ color: rgb(178, 35, 134);
/* oklch */ color: oklch(52.5% 0.200 344.0);
Tailwind
colors: {
  custom: {
    50: '#cd6fa9',
    500: '#b22386',
    950: '#000000',
  },
}
SCSS
$custom: #b22386;
$custom-light: #cd6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#b22386",
  "rgb": {
    "r": 178,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 318.462,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52515,
    "c": 0.2,
    "h": 344
  },
  "luminance": 0.12388
}

Semantic roles & 50–950 ramp

primary
#B22386
secondary
#68C986
accent
#EA733E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B22386

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

Preview Lab → · Contrast checker → · Palette generator →

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