#B22894#B22894

#B22894 is a mid, highly saturated pink. Relative luminance 0.131; OKLCH L 53.5% C 0.204 H 338.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B22894
RGBrgb(178, 40, 148)
HSLhsl(313, 63%, 43%)
HSVhsv(313, 78%, 70%)
CMYKcmyk(0%, 77.5%, 16.9%, 30.2%)
CIE-LABlab(42.95, 63.97, -27.42)
CIE-LCHlch(42.95, 69.60, 336.80°)
OKLaboklab(53.53% 0.19 -0.0744)
OKLCHoklch(53.53% 0.204 338.6)
XYZxyz(24.4648, 13.1231, 29.2558)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22894 #28B246
analogous
#8B28B2 #B22894 #B2284F
triadic
#B22894 #94B228 #2894B2
tetradic
#B22894 #B28B28 #28B246 #284FB2
square
#B22894 #B28B28 #28B246 #284FB2
split-complementary
#B22894 #4FB228 #28B28B
monochromatic
#4E1241 #801D6A #B22894 #D543B5 #E075C9

Accessibility & contrast

On white

5.79
#B22894 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B22894 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22894
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22894#FFFFFF#000000##FFFFFF
##B228941.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305897
Deuteranopia (green-blind)
#5F6D91
Tritanopia (blue-blind)
#BC2F5C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22894;
/* rgb */ color: rgb(178, 40, 148);
/* oklch */ color: oklch(53.5% 0.204 338.6);
Tailwind
colors: {
  custom: {
    50: '#cd72b3',
    500: '#b22894',
    950: '#000000',
  },
}
SCSS
$custom: #b22894;
$custom-light: #cd72b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b22894",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 313.043,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53528,
    "c": 0.20401,
    "h": 338.6
  },
  "luminance": 0.13121
}

Semantic roles & 50–950 ramp

primary
#B22894
secondary
#6FC782
accent
#E66541
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22894

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

Preview Lab → · Contrast checker → · Palette generator →

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