#B22B95#B22B95

#B22B95 is a mid, highly saturated pink. Relative luminance 0.134; OKLCH L 53.8% C 0.202 H 338.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B22B95
RGBrgb(178, 43, 149)
HSLhsl(313, 61%, 43%)
HSVhsv(313, 76%, 70%)
CMYKcmyk(0%, 75.8%, 16.3%, 30.2%)
CIE-LABlab(43.31, 63.22, -27.46)
CIE-LCHlch(43.31, 68.92, 336.52°)
OKLaboklab(53.8% 0.1874 -0.0745)
OKLCHoklch(53.8% 0.202 338.3)
XYZxyz(24.6494, 13.3650, 29.7095)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B95 #2BB248
analogous
#8B2BB2 #B22B95 #B22B51
triadic
#B22B95 #95B22B #2B95B2
tetradic
#B22B95 #B28B2B #2BB248 #2B51B2
square
#B22B95 #B28B2B #2BB248 #2B51B2
split-complementary
#B22B95 #51B22B #2BB28B
monochromatic
#4F1342 #811F6C #B22B95 #D348B5 #DF79C9

Accessibility & contrast

On white

5.72
#B22B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B22B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22B95
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22B95#FFFFFF#000000##FFFFFF
##B22B951.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325998
Deuteranopia (green-blind)
#606E92
Tritanopia (blue-blind)
#BC325D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b22b95;
/* rgb */ color: rgb(178, 43, 149);
/* oklch */ color: oklch(53.8% 0.202 338.3);
Tailwind
colors: {
  custom: {
    50: '#cd73b4',
    500: '#b22b95',
    950: '#000000',
  },
}
SCSS
$custom: #b22b95;
$custom-light: #cd73b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b95",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 312.889,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53803,
    "c": 0.20166,
    "h": 338.3
  },
  "luminance": 0.13363
}

Semantic roles & 50–950 ramp

primary
#B22B95
secondary
#72C784
accent
#E46644
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22B95

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

Preview Lab → · Contrast checker → · Palette generator →

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