#B22C8D#B22C8D

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

Color values

HEX#B22C8D
RGBrgb(178, 44, 141)
HSLhsl(317, 60%, 44%)
HSVhsv(317, 75%, 70%)
CMYKcmyk(0%, 75.3%, 20.8%, 30.2%)
CIE-LABlab(43.05, 61.80, -23.02)
CIE-LCHlch(43.05, 65.95, 339.57°)
OKLaboklab(53.5% 0.1854 -0.0619)
OKLCHoklch(53.5% 0.195 341.5)
XYZxyz(24.0693, 13.1919, 26.4728)
Luminance0.1319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22C8D #2CB251
analogous
#942CB2 #B22C8D #B22C4A
triadic
#B22C8D #8DB22C #2C8DB2
tetradic
#B22C8D #B2942C #2CB251 #2C4AB2
square
#B22C8D #B2942C #2CB251 #2C4AB2
split-complementary
#B22C8D #4AB22C #2CB294
monochromatic
#50143F #812066 #B22C8D #D249AC #DE7AC3

Accessibility & contrast

On white

5.77
#B22C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B22C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22C8D
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22C8D#FFFFFF#000000##FFFFFF
##B22C8D1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385890
Deuteranopia (green-blind)
#636D8A
Tritanopia (blue-blind)
#BD2E59
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b22c8d;
/* rgb */ color: rgb(178, 44, 141);
/* oklch */ color: oklch(53.5% 0.195 341.5);
Tailwind
colors: {
  custom: {
    50: '#cd73ae',
    500: '#b22c8d',
    950: '#000000',
  },
}
SCSS
$custom: #b22c8d;
$custom-light: #cd73ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b22c8d",
  "rgb": {
    "r": 178,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 316.567,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53498,
    "c": 0.19542,
    "h": 341.5
  },
  "luminance": 0.13189
}

Semantic roles & 50–950 ramp

primary
#B22C8D
secondary
#73C68A
accent
#E47044
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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