#B22387#B22387

#B22387 is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.6% C 0.201 H 343.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B22387
RGBrgb(178, 35, 135)
HSLhsl(318, 67%, 42%)
HSVhsv(318, 80%, 70%)
CMYKcmyk(0%, 80.3%, 24.2%, 30.2%)
CIE-LABlab(41.87, 63.63, -21.17)
CIE-LCHlch(41.87, 67.06, 341.59°)
OKLaboklab(52.56% 0.1924 -0.0566)
OKLCHoklch(52.56% 0.201 343.6)
XYZxyz(23.3353, 12.4189, 24.0852)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22387 #23B24E
analogous
#9623B2 #B22387 #B22340
triadic
#B22387 #87B223 #2387B2
tetradic
#B22387 #B29623 #23B24E #2340B2
square
#B22387 #B29623 #23B24E #2340B2
split-complementary
#B22387 #40B223 #23B296
monochromatic
#4C0F39 #7F1960 #B22387 #D83AA9 #E26DBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B22387#FFFFFF#000000##FFFFFF
##B223871.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)
#35548A
Deuteranopia (green-blind)
#626B84
Tritanopia (blue-blind)
#BE2353
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b22387;
/* rgb */ color: rgb(178, 35, 135);
/* oklch */ color: oklch(52.6% 0.201 343.6);
Tailwind
colors: {
  custom: {
    50: '#cd6faa',
    500: '#b22387',
    950: '#000000',
  },
}
SCSS
$custom: #b22387;
$custom-light: #cd6faa;
$custom-dark: #000000;
JSON
{
  "hex": "#b22387",
  "rgb": {
    "r": 178,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 318.042,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5256,
    "c": 0.20058,
    "h": 343.6
  },
  "luminance": 0.12416
}

Semantic roles & 50–950 ramp

primary
#B22387
secondary
#68C985
accent
#EA723E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B22387

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

Preview Lab → · Contrast checker → · Palette generator →

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