#B22C8C#B22C8C

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

Color values

HEX#B22C8C
RGBrgb(178, 44, 140)
HSLhsl(317, 60%, 44%)
HSVhsv(317, 75%, 70%)
CMYKcmyk(0%, 75.3%, 21.3%, 30.2%)
CIE-LABlab(43.01, 61.67, -22.48)
CIE-LCHlch(43.01, 65.64, 339.98°)
OKLaboklab(53.45% 0.1852 -0.0604)
OKLCHoklch(53.45% 0.195 341.9)
XYZxyz(23.9952, 13.1623, 26.0827)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22C8C #2CB252
analogous
#952CB2 #B22C8C #B22C49
triadic
#B22C8C #8CB22C #2C8CB2
tetradic
#B22C8C #B2952C #2CB252 #2C49B2
square
#B22C8C #B2952C #2CB252 #2C49B2
split-complementary
#B22C8C #49B22C #2CB295
monochromatic
#50143F #812065 #B22C8C #D249AB #DE7AC2

Accessibility & contrast

On white

5.78
#B22C8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B22C8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22C8C
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22C8C#FFFFFF#000000##FFFFFF
##B22C8C1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39588F
Deuteranopia (green-blind)
#636D89
Tritanopia (blue-blind)
#BD2E59
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b22c8c;
/* rgb */ color: rgb(178, 44, 140);
/* oklch */ color: oklch(53.5% 0.195 341.9);
Tailwind
colors: {
  custom: {
    50: '#cd73ae',
    500: '#b22c8c',
    950: '#000000',
  },
}
SCSS
$custom: #b22c8c;
$custom-light: #cd73ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b22c8c",
  "rgb": {
    "r": 178,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 317.015,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53451,
    "c": 0.1948,
    "h": 341.9
  },
  "luminance": 0.1316
}

Semantic roles & 50–950 ramp

primary
#B22C8C
secondary
#73C68B
accent
#E47144
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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