#B22D87#B22D87

#B22D87 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.3% C 0.191 H 344.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B22D87
RGBrgb(178, 45, 135)
HSLhsl(319, 60%, 44%)
HSVhsv(319, 75%, 70%)
CMYKcmyk(0%, 74.7%, 24.2%, 30.2%)
CIE-LABlab(42.90, 60.69, -19.59)
CIE-LCHlch(42.90, 63.77, 342.11°)
OKLaboklab(53.31% 0.1834 -0.0523)
OKLCHoklch(53.31% 0.191 344.1)
XYZxyz(23.6726, 13.0935, 24.1976)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22D87 #2DB258
analogous
#9A2DB2 #B22D87 #B22D45
triadic
#B22D87 #87B22D #2D87B2
tetradic
#B22D87 #B29A2D #2DB258 #2D45B2
square
#B22D87 #B29A2D #2DB258 #2D45B2
split-complementary
#B22D87 #45B22D #2DB29A
monochromatic
#50143D #812162 #B22D87 #D14BA6 #DE7CBE

Accessibility & contrast

On white

5.80
#B22D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B22D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22D87
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22D87#FFFFFF#000000##FFFFFF
##B22D871.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5789
Deuteranopia (green-blind)
#656D84
Tritanopia (blue-blind)
#BE2C56
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22d87;
/* rgb */ color: rgb(178, 45, 135);
/* oklch */ color: oklch(53.3% 0.191 344.1);
Tailwind
colors: {
  custom: {
    50: '#cd73aa',
    500: '#b22d87',
    950: '#000000',
  },
}
SCSS
$custom: #b22d87;
$custom-light: #cd73aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b22d87",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 319.398,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53306,
    "c": 0.19066,
    "h": 344.1
  },
  "luminance": 0.13091
}

Semantic roles & 50–950 ramp

primary
#B22D87
secondary
#75C68F
accent
#E37845
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22D87

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

Preview Lab → · Contrast checker → · Palette generator →

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