#B22D9C#B22D9C

#B22D9C is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.204 H 335.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B22D9C
RGBrgb(178, 45, 156)
HSLhsl(310, 60%, 44%)
HSVhsv(310, 75%, 70%)
CMYKcmyk(0%, 74.7%, 12.4%, 30.2%)
CIE-LABlab(43.86, 63.60, -30.81)
CIE-LCHlch(43.86, 70.67, 334.15°)
OKLaboklab(54.31% 0.1862 -0.0841)
OKLCHoklch(54.31% 0.204 335.7)
XYZxyz(25.2996, 13.7443, 32.7665)
Luminance0.1374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22D9C #2DB243
analogous
#852DB2 #B22D9C #B22D59
triadic
#B22D9C #9CB22D #2D9CB2
tetradic
#B22D9C #B2852D #2DB243 #2D59B2
square
#B22D9C #B2852D #2DB243 #2D59B2
split-complementary
#B22D9C #59B22D #2DB285
monochromatic
#501446 #812171 #B22D9C #D14BBB #DE7CCE

Accessibility & contrast

On white

5.60
#B22D9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#B22D9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22D9C
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22D9C#FFFFFF#000000##FFFFFF
##B22D9C1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5B9F
Deuteranopia (green-blind)
#5D6F99
Tritanopia (blue-blind)
#BB3762
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b22d9c;
/* rgb */ color: rgb(178, 45, 156);
/* oklch */ color: oklch(54.3% 0.204 335.7);
Tailwind
colors: {
  custom: {
    50: '#cd74b9',
    500: '#b22d9c',
    950: '#000000',
  },
}
SCSS
$custom: #b22d9c;
$custom-light: #cd74b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b22d9c",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 309.925,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54313,
    "c": 0.20433,
    "h": 335.7
  },
  "luminance": 0.13742
}

Semantic roles & 50–950 ramp

primary
#B22D9C
secondary
#75C682
accent
#E35F45
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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