#B22397#B22397

#B22397 is a mid, highly saturated pink. Relative luminance 0.129; OKLCH L 53.3% C 0.211 H 337.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B22397
RGBrgb(178, 35, 151)
HSLhsl(311, 67%, 42%)
HSVhsv(311, 80%, 70%)
CMYKcmyk(0%, 80.3%, 15.2%, 30.2%)
CIE-LABlab(42.62, 65.75, -29.75)
CIE-LCHlch(42.62, 72.17, 335.65°)
OKLaboklab(53.34% 0.1944 -0.081)
OKLCHoklch(53.34% 0.211 337.4)
XYZxyz(24.5476, 12.9038, 30.4700)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22397 #23B23E
analogous
#8623B2 #B22397 #B2234F
triadic
#B22397 #97B223 #2397B2
tetradic
#B22397 #B28623 #23B23E #234FB2
square
#B22397 #B28623 #23B23E #234FB2
split-complementary
#B22397 #4FB223 #23B286
monochromatic
#4C0F40 #7F196C #B22397 #D83ABA #E26DCC

Accessibility & contrast

On white

5.87
#B22397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B22397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22397
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22397#FFFFFF#000000##FFFFFF
##B223971.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579A
Deuteranopia (green-blind)
#5C6C94
Tritanopia (blue-blind)
#BC2D5C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22397;
/* rgb */ color: rgb(178, 35, 151);
/* oklch */ color: oklch(53.3% 0.211 337.4);
Tailwind
colors: {
  custom: {
    50: '#cd70b6',
    500: '#b22397',
    950: '#000000',
  },
}
SCSS
$custom: #b22397;
$custom-light: #cd70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b22397",
  "rgb": {
    "r": 178,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 311.329,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53338,
    "c": 0.21057,
    "h": 337.4
  },
  "luminance": 0.12901
}

Semantic roles & 50–950 ramp

primary
#B22397
secondary
#68C97A
accent
#EA5E3E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22397

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

Preview Lab → · Contrast checker → · Palette generator →

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