#B22095#B22095

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

Color values

HEX#B22095
RGBrgb(178, 32, 149)
HSLhsl(312, 70%, 41%)
HSVhsv(312, 82%, 70%)
CMYKcmyk(0%, 82%, 16.3%, 30.2%)
CIE-LABlab(42.26, 66.22, -29.10)
CIE-LCHlch(42.26, 72.33, 336.28°)
OKLaboklab(53.05% 0.1964 -0.0791)
OKLCHoklch(53.05% 0.212 338.1)
XYZxyz(24.3020, 12.6704, 29.5937)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22095 #20B23D
analogous
#8620B2 #B22095 #B2204C
triadic
#B22095 #95B220 #2095B2
tetradic
#B22095 #B28620 #20B23D #204CB2
square
#B22095 #B28620 #20B23D #204CB2
split-complementary
#B22095 #4CB220 #20B286
monochromatic
#4A0D3E #7E176A #B22095 #DB35BA #E468CB

Accessibility & contrast

On white

5.94
#B22095 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B22095 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22095
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22095#FFFFFF#000000##FFFFFF
##B220951.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b22095;
/* rgb */ color: rgb(178, 32, 149);
/* oklch */ color: oklch(53.1% 0.212 338.1);
Tailwind
colors: {
  custom: {
    50: '#cd6fb4',
    500: '#b22095',
    950: '#000000',
  },
}
SCSS
$custom: #b22095;
$custom-light: #cd6fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#b22095",
  "rgb": {
    "r": 178,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 311.918,
    "s": 69.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53051,
    "c": 0.21177,
    "h": 338.1
  },
  "luminance": 0.12668
}

Semantic roles & 50–950 ramp

primary
#B22095
secondary
#64CA78
accent
#EC5F3B
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B22095

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

Preview Lab → · Contrast checker → · Palette generator →

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