#B22C8A#B22C8A

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

Color values

HEX#B22C8A
RGBrgb(178, 44, 138)
HSLhsl(318, 60%, 44%)
HSVhsv(318, 75%, 70%)
CMYKcmyk(0%, 75.3%, 22.5%, 30.2%)
CIE-LABlab(42.92, 61.40, -21.39)
CIE-LCHlch(42.92, 65.02, 340.79°)
OKLaboklab(53.36% 0.1849 -0.0573)
OKLCHoklch(53.36% 0.194 342.8)
XYZxyz(23.8491, 13.1038, 25.3131)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22C8A #2CB254
analogous
#972CB2 #B22C8A #B22C47
triadic
#B22C8A #8AB22C #2C8AB2
tetradic
#B22C8A #B2972C #2CB254 #2C47B2
square
#B22C8A #B2972C #2CB254 #2C47B2
split-complementary
#B22C8A #47B22C #2CB297
monochromatic
#50143E #812064 #B22C8A #D249A9 #DE7AC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B22C8A#FFFFFF#000000##FFFFFF
##B22C8A1.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)
#3A578D
Deuteranopia (green-blind)
#646D87
Tritanopia (blue-blind)
#BD2D58
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22c8a;
/* rgb */ color: rgb(178, 44, 138);
/* oklch */ color: oklch(53.4% 0.194 342.8);
Tailwind
colors: {
  custom: {
    50: '#cd73ac',
    500: '#b22c8a',
    950: '#000000',
  },
}
SCSS
$custom: #b22c8a;
$custom-light: #cd73ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b22c8a",
  "rgb": {
    "r": 178,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 317.91,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53359,
    "c": 0.19356,
    "h": 342.8
  },
  "luminance": 0.13101
}

Semantic roles & 50–950 ramp

primary
#B22C8A
secondary
#73C68C
accent
#E47444
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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