#B22497#B22497

#B22497 is a mid, highly saturated pink. Relative luminance 0.130; OKLCH L 53.4% C 0.210 H 337.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B22497
RGBrgb(178, 36, 151)
HSLhsl(311, 66%, 42%)
HSVhsv(311, 80%, 70%)
CMYKcmyk(0%, 79.8%, 15.2%, 30.2%)
CIE-LABlab(42.71, 65.49, -29.61)
CIE-LCHlch(42.71, 71.87, 335.67°)
OKLaboklab(53.4% 0.1936 -0.0806)
OKLCHoklch(53.4% 0.21 337.4)
XYZxyz(24.5774, 12.9635, 30.4800)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22497 #24B23F
analogous
#8624B2 #B22497 #B22450
triadic
#B22497 #97B224 #2497B2
tetradic
#B22497 #B28624 #24B23F #2450B2
square
#B22497 #B28624 #24B23F #2450B2
split-complementary
#B22497 #50B224 #24B286
monochromatic
#4C0F41 #7F1A6C #B22497 #D83CBA #E26FCC

Accessibility & contrast

On white

5.85
#B22497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B22497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22497
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22497#FFFFFF#000000##FFFFFF
##B224971.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A579A
Deuteranopia (green-blind)
#5C6C94
Tritanopia (blue-blind)
#BC2E5D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22497;
/* rgb */ color: rgb(178, 36, 151);
/* oklch */ color: oklch(53.4% 0.210 337.4);
Tailwind
colors: {
  custom: {
    50: '#cd70b6',
    500: '#b22497',
    950: '#000000',
  },
}
SCSS
$custom: #b22497;
$custom-light: #cd70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b22497",
  "rgb": {
    "r": 178,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 311.408,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53402,
    "c": 0.2097,
    "h": 337.4
  },
  "luminance": 0.12961
}

Semantic roles & 50–950 ramp

primary
#B22497
secondary
#69C87C
accent
#E95F3F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22497

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

Preview Lab → · Contrast checker → · Palette generator →

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