#B22395#B22395

#B22395 is a mid, highly saturated pink. Relative luminance 0.128; OKLCH L 53.2% C 0.209 H 338.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B22395
RGBrgb(178, 35, 149)
HSLhsl(312, 67%, 42%)
HSVhsv(312, 80%, 70%)
CMYKcmyk(0%, 80.3%, 16.3%, 30.2%)
CIE-LABlab(42.52, 65.47, -28.70)
CIE-LCHlch(42.52, 71.49, 336.33°)
OKLaboklab(53.24% 0.1942 -0.078)
OKLCHoklch(53.24% 0.209 338.1)
XYZxyz(24.3865, 12.8394, 29.6219)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22395 #23B240
analogous
#8823B2 #B22395 #B2234E
triadic
#B22395 #95B223 #2395B2
tetradic
#B22395 #B28823 #23B240 #234EB2
square
#B22395 #B28823 #23B240 #234EB2
split-complementary
#B22395 #4EB223 #23B288
monochromatic
#4C0F3F #7F196A #B22395 #D83AB8 #E26DCB

Accessibility & contrast

On white

5.89
#B22395 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B22395 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22395
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22395#FFFFFF#000000##FFFFFF
##B223951.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5698
Deuteranopia (green-blind)
#5D6C92
Tritanopia (blue-blind)
#BC2C5B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22395;
/* rgb */ color: rgb(178, 35, 149);
/* oklch */ color: oklch(53.2% 0.209 338.1);
Tailwind
colors: {
  custom: {
    50: '#cd70b4',
    500: '#b22395',
    950: '#000000',
  },
}
SCSS
$custom: #b22395;
$custom-light: #cd70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b22395",
  "rgb": {
    "r": 178,
    "g": 35,
    "b": 149
  },
  "hsl": {
    "h": 312.168,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53236,
    "c": 0.20926,
    "h": 338.1
  },
  "luminance": 0.12837
}

Semantic roles & 50–950 ramp

primary
#B22395
secondary
#68C97C
accent
#EA613E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22395

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

Preview Lab → · Contrast checker → · Palette generator →

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