#B22A8D#B22A8D

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

Color values

HEX#B22A8D
RGBrgb(178, 42, 141)
HSLhsl(316, 62%, 43%)
HSVhsv(316, 76%, 70%)
CMYKcmyk(0%, 76.4%, 20.8%, 30.2%)
CIE-LABlab(42.83, 62.42, -23.35)
CIE-LCHlch(42.83, 66.65, 339.49°)
OKLaboklab(53.34% 0.1873 -0.0628)
OKLCHoklch(53.34% 0.198 341.4)
XYZxyz(23.9966, 13.0465, 26.4486)
Luminance0.1304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A8D #2AB24F
analogous
#932AB2 #B22A8D #B22A49
triadic
#B22A8D #8DB22A #2A8DB2
tetradic
#B22A8D #B2932A #2AB24F #2A49B2
square
#B22A8D #B2932A #2AB24F #2A49B2
split-complementary
#B22A8D #49B22A #2AB293
monochromatic
#4F133F #801E66 #B22A8D #D346AD #DF77C3

Accessibility & contrast

On white

5.82
#B22A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B22A8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22A8D
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22A8D#FFFFFF#000000##FFFFFF
##B22A8D1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375790
Deuteranopia (green-blind)
#626D8A
Tritanopia (blue-blind)
#BD2D59
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22a8d;
/* rgb */ color: rgb(178, 42, 141);
/* oklch */ color: oklch(53.3% 0.198 341.4);
Tailwind
colors: {
  custom: {
    50: '#cd72ae',
    500: '#b22a8d',
    950: '#000000',
  },
}
SCSS
$custom: #b22a8d;
$custom-light: #cd72ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a8d",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 316.324,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5334,
    "c": 0.19752,
    "h": 341.4
  },
  "luminance": 0.13044
}

Semantic roles & 50–950 ramp

primary
#B22A8D
secondary
#71C788
accent
#E56F43
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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