#B22195#B22195

#B22195 is a mid, highly saturated pink. Relative luminance 0.127; OKLCH L 53.1% C 0.211 H 338.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B22195
RGBrgb(178, 33, 149)
HSLhsl(312, 69%, 41%)
HSVhsv(312, 81%, 70%)
CMYKcmyk(0%, 81.5%, 16.3%, 30.2%)
CIE-LABlab(42.35, 65.98, -28.97)
CIE-LCHlch(42.35, 72.06, 336.30°)
OKLaboklab(53.11% 0.1957 -0.0787)
OKLCHoklch(53.11% 0.211 338.1)
XYZxyz(24.3294, 12.7250, 29.6028)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22195 #21B23E
analogous
#8721B2 #B22195 #B2214D
triadic
#B22195 #95B221 #2195B2
tetradic
#B22195 #B28721 #21B23E #214DB2
square
#B22195 #B28721 #21B23E #214DB2
split-complementary
#B22195 #4DB221 #21B287
monochromatic
#4B0E3F #7E176A #B22195 #DA36B9 #E36ACB

Accessibility & contrast

On white

5.92
#B22195 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B22195 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22195
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22195#FFFFFF#000000##FFFFFF
##B221951.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295698
Deuteranopia (green-blind)
#5C6C92
Tritanopia (blue-blind)
#BC2A5B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22195;
/* rgb */ color: rgb(178, 33, 149);
/* oklch */ color: oklch(53.1% 0.211 338.1);
Tailwind
colors: {
  custom: {
    50: '#cd6fb4',
    500: '#b22195',
    950: '#000000',
  },
}
SCSS
$custom: #b22195;
$custom-light: #cd6fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#b22195",
  "rgb": {
    "r": 178,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 312,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53111,
    "c": 0.21096,
    "h": 338.1
  },
  "luminance": 0.12723
}

Semantic roles & 50–950 ramp

primary
#B22195
secondary
#66C97A
accent
#EC5F3C
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B22195

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

Preview Lab → · Contrast checker → · Palette generator →

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