#B22886#B22886

#B22886 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.9% C 0.195 H 344.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B22886
RGBrgb(178, 40, 134)
HSLhsl(319, 63%, 43%)
HSVhsv(319, 78%, 70%)
CMYKcmyk(0%, 77.5%, 24.7%, 30.2%)
CIE-LABlab(42.32, 62.11, -19.88)
CIE-LCHlch(42.32, 65.21, 342.25°)
OKLaboklab(52.87% 0.1879 -0.053)
OKLCHoklch(52.87% 0.195 344.2)
XYZxyz(23.4229, 12.7063, 23.7687)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22886 #28B254
analogous
#9928B2 #B22886 #B22841
triadic
#B22886 #86B228 #2886B2
tetradic
#B22886 #B29928 #28B254 #2841B2
square
#B22886 #B29928 #28B254 #2841B2
split-complementary
#B22886 #41B228 #28B299
monochromatic
#4E123B #801D60 #B22886 #D543A6 #E075BE

Accessibility & contrast

On white

5.93
#B22886 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B22886 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22886
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22886#FFFFFF#000000##FFFFFF
##B228861.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395588
Deuteranopia (green-blind)
#646C83
Tritanopia (blue-blind)
#BE2754
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22886;
/* rgb */ color: rgb(178, 40, 134);
/* oklch */ color: oklch(52.9% 0.195 344.2);
Tailwind
colors: {
  custom: {
    50: '#cd71a9',
    500: '#b22886',
    950: '#000000',
  },
}
SCSS
$custom: #b22886;
$custom-light: #cd71a9;
$custom-dark: #000000;
JSON
{
  "hex": "#b22886",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 134
  },
  "hsl": {
    "h": 319.13,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52867,
    "c": 0.19528,
    "h": 344.2
  },
  "luminance": 0.12704
}

Semantic roles & 50–950 ramp

primary
#B22886
secondary
#6FC78B
accent
#E67641
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22886

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

Preview Lab → · Contrast checker → · Palette generator →

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