#B22887#B22887

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

Color values

HEX#B22887
RGBrgb(178, 40, 135)
HSLhsl(319, 63%, 43%)
HSVhsv(319, 78%, 70%)
CMYKcmyk(0%, 77.5%, 24.2%, 30.2%)
CIE-LABlab(42.36, 62.24, -20.42)
CIE-LCHlch(42.36, 65.50, 341.83°)
OKLaboklab(52.91% 0.1881 -0.0546)
OKLCHoklch(52.91% 0.196 343.8)
XYZxyz(23.4930, 12.7344, 24.1377)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22887 #28B253
analogous
#9828B2 #B22887 #B22842
triadic
#B22887 #87B228 #2887B2
tetradic
#B22887 #B29828 #28B253 #2842B2
square
#B22887 #B29828 #28B253 #2842B2
split-complementary
#B22887 #42B228 #28B298
monochromatic
#4E123B #801D61 #B22887 #D543A7 #E075BE

Accessibility & contrast

On white

5.92
#B22887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B22887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22887
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22887#FFFFFF#000000##FFFFFF
##B228871.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395589
Deuteranopia (green-blind)
#646C84
Tritanopia (blue-blind)
#BE2755
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22887;
/* rgb */ color: rgb(178, 40, 135);
/* oklch */ color: oklch(52.9% 0.196 343.8);
Tailwind
colors: {
  custom: {
    50: '#cd71aa',
    500: '#b22887',
    950: '#000000',
  },
}
SCSS
$custom: #b22887;
$custom-light: #cd71aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b22887",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 318.696,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52912,
    "c": 0.19588,
    "h": 343.8
  },
  "luminance": 0.12732
}

Semantic roles & 50–950 ramp

primary
#B22887
secondary
#6FC78A
accent
#E67541
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22887

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

Preview Lab → · Contrast checker → · Palette generator →

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