#B22F87#B22F87

#B22F87 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.5% C 0.188 H 344.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B22F87
RGBrgb(178, 47, 135)
HSLhsl(320, 58%, 44%)
HSVhsv(320, 74%, 70%)
CMYKcmyk(0%, 73.6%, 24.2%, 30.2%)
CIE-LABlab(43.14, 60.03, -19.23)
CIE-LCHlch(43.14, 63.03, 342.24°)
OKLaboklab(53.48% 0.1813 -0.0513)
OKLCHoklch(53.48% 0.188 344.2)
XYZxyz(23.7507, 13.2498, 24.2236)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F87 #2FB25A
analogous
#9C2FB2 #B22F87 #B22F45
triadic
#B22F87 #87B22F #2F87B2
tetradic
#B22F87 #B29C2F #2FB25A #2F45B2
square
#B22F87 #B29C2F #2FB25A #2F45B2
split-complementary
#B22F87 #45B22F #2FB29C
monochromatic
#51153E #822262 #B22F87 #D04EA5 #DD7EBE

Accessibility & contrast

On white

5.75
#B22F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B22F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F87
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F87#FFFFFF#000000##FFFFFF
##B22F871.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5889
Deuteranopia (green-blind)
#666E84
Tritanopia (blue-blind)
#BE2E57
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b22f87;
/* rgb */ color: rgb(178, 47, 135);
/* oklch */ color: oklch(53.5% 0.188 344.2);
Tailwind
colors: {
  custom: {
    50: '#cd74aa',
    500: '#b22f87',
    950: '#000000',
  },
}
SCSS
$custom: #b22f87;
$custom-light: #cd74aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f87",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 319.695,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53476,
    "c": 0.18843,
    "h": 344.2
  },
  "luminance": 0.13247
}

Semantic roles & 50–950 ramp

primary
#B22F87
secondary
#77C691
accent
#E17946
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22F87

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

Preview Lab → · Contrast checker → · Palette generator →

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