#B22A8F#B22A8F

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

Color values

HEX#B22A8F
RGBrgb(178, 42, 143)
HSLhsl(315, 62%, 43%)
HSVhsv(315, 76%, 70%)
CMYKcmyk(0%, 76.4%, 19.7%, 30.2%)
CIE-LABlab(42.92, 62.69, -24.43)
CIE-LCHlch(42.92, 67.28, 338.71°)
OKLaboklab(53.43% 0.1876 -0.0659)
OKLCHoklch(53.43% 0.199 340.6)
XYZxyz(24.1467, 13.1065, 27.2394)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A8F #2AB24D
analogous
#912AB2 #B22A8F #B22A4B
triadic
#B22A8F #8FB22A #2A8FB2
tetradic
#B22A8F #B2912A #2AB24D #2A4BB2
square
#B22A8F #B2912A #2AB24D #2A4BB2
split-complementary
#B22A8F #4BB22A #2AB291
monochromatic
#4F133F #801E67 #B22A8F #D346AF #DF77C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B22A8F#FFFFFF#000000##FFFFFF
##B22A8F1.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)
#355792
Deuteranopia (green-blind)
#626D8C
Tritanopia (blue-blind)
#BD2E5A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22a8f;
/* rgb */ color: rgb(178, 42, 143);
/* oklch */ color: oklch(53.4% 0.199 340.6);
Tailwind
colors: {
  custom: {
    50: '#cd72b0',
    500: '#b22a8f',
    950: '#000000',
  },
}
SCSS
$custom: #b22a8f;
$custom-light: #cd72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a8f",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 315.441,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53434,
    "c": 0.19878,
    "h": 340.6
  },
  "luminance": 0.13104
}

Semantic roles & 50–950 ramp

primary
#B22A8F
secondary
#71C787
accent
#E56D43
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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