#B22999#B22999

#B22999 is a mid, highly saturated pink. Relative luminance 0.134; OKLCH L 53.9% C 0.206 H 336.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B22999
RGBrgb(178, 41, 153)
HSLhsl(311, 63%, 43%)
HSVhsv(311, 77%, 70%)
CMYKcmyk(0%, 77%, 14%, 30.2%)
CIE-LABlab(43.29, 64.38, -29.91)
CIE-LCHlch(43.29, 70.99, 335.09°)
OKLaboklab(53.85% 0.1896 -0.0815)
OKLCHoklch(53.85% 0.206 336.7)
XYZxyz(24.9033, 13.3531, 31.3967)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22999 #29B242
analogous
#8629B2 #B22999 #B22954
triadic
#B22999 #99B229 #2999B2
tetradic
#B22999 #B28629 #29B242 #2954B2
square
#B22999 #B28629 #29B242 #2954B2
split-complementary
#B22999 #54B229 #29B286
monochromatic
#4F1243 #801E6E #B22999 #D444BA #DF76CC

Accessibility & contrast

On white

5.72
#B22999 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B22999 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22999
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22999#FFFFFF#000000##FFFFFF
##B229991.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599C
Deuteranopia (green-blind)
#5D6E96
Tritanopia (blue-blind)
#BC335F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b22999;
/* rgb */ color: rgb(178, 41, 153);
/* oklch */ color: oklch(53.9% 0.206 336.7);
Tailwind
colors: {
  custom: {
    50: '#cd72b7',
    500: '#b22999',
    950: '#000000',
  },
}
SCSS
$custom: #b22999;
$custom-light: #cd72b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b22999",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 310.949,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53853,
    "c": 0.20635,
    "h": 336.7
  },
  "luminance": 0.13351
}

Semantic roles & 50–950 ramp

primary
#B22999
secondary
#70C780
accent
#E66042
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22999

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

Preview Lab → · Contrast checker → · Palette generator →

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