#B22A8C#B22A8C

#B22A8C is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.3% C 0.197 H 341.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B22A8C
RGBrgb(178, 42, 140)
HSLhsl(317, 62%, 43%)
HSVhsv(317, 76%, 70%)
CMYKcmyk(0%, 76.4%, 21.3%, 30.2%)
CIE-LABlab(42.79, 62.29, -22.81)
CIE-LCHlch(42.79, 66.34, 339.89°)
OKLaboklab(53.29% 0.1871 -0.0613)
OKLCHoklch(53.29% 0.197 341.9)
XYZxyz(23.9225, 13.0168, 26.0585)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A8C #2AB250
analogous
#942AB2 #B22A8C #B22A48
triadic
#B22A8C #8CB22A #2A8CB2
tetradic
#B22A8C #B2942A #2AB250 #2A48B2
square
#B22A8C #B2942A #2AB250 #2A48B2
split-complementary
#B22A8C #48B22A #2AB294
monochromatic
#4F133E #801E65 #B22A8C #D346AC #DF77C2

Accessibility & contrast

On white

5.83
#B22A8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B22A8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22A8C
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22A8C#FFFFFF#000000##FFFFFF
##B22A8C1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578F
Deuteranopia (green-blind)
#636D89
Tritanopia (blue-blind)
#BD2C58
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22a8c;
/* rgb */ color: rgb(178, 42, 140);
/* oklch */ color: oklch(53.3% 0.197 341.9);
Tailwind
colors: {
  custom: {
    50: '#cd72ae',
    500: '#b22a8c',
    950: '#000000',
  },
}
SCSS
$custom: #b22a8c;
$custom-light: #cd72ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a8c",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 140
  },
  "hsl": {
    "h": 316.765,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53293,
    "c": 0.19689,
    "h": 341.9
  },
  "luminance": 0.13014
}

Semantic roles & 50–950 ramp

primary
#B22A8C
secondary
#71C789
accent
#E57043
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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