#B22794#B22794

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

Color values

HEX#B22794
RGBrgb(178, 39, 148)
HSLhsl(313, 64%, 43%)
HSVhsv(313, 78%, 70%)
CMYKcmyk(0%, 78.1%, 16.9%, 30.2%)
CIE-LABlab(42.85, 64.26, -27.58)
CIE-LCHlch(42.85, 69.92, 336.77°)
OKLaboklab(53.46% 0.1908 -0.0748)
OKLCHoklch(53.46% 0.205 338.6)
XYZxyz(24.4315, 13.0565, 29.2447)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22794 #27B245
analogous
#8B27B2 #B22794 #B2274E
triadic
#B22794 #94B227 #2794B2
tetradic
#B22794 #B28B27 #27B245 #274EB2
square
#B22794 #B28B27 #27B245 #274EB2
split-complementary
#B22794 #4EB227 #27B28B
monochromatic
#4E1141 #801C6A #B22794 #D541B5 #E073C9

Accessibility & contrast

On white

5.82
#B22794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B22794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22794
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22794#FFFFFF#000000##FFFFFF
##B227941.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5797
Deuteranopia (green-blind)
#5F6D91
Tritanopia (blue-blind)
#BC2E5C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22794;
/* rgb */ color: rgb(178, 39, 148);
/* oklch */ color: oklch(53.5% 0.205 338.6);
Tailwind
colors: {
  custom: {
    50: '#cd71b3',
    500: '#b22794',
    950: '#000000',
  },
}
SCSS
$custom: #b22794;
$custom-light: #cd71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b22794",
  "rgb": {
    "r": 178,
    "g": 39,
    "b": 148
  },
  "hsl": {
    "h": 312.95,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53456,
    "c": 0.20497,
    "h": 338.6
  },
  "luminance": 0.13054
}

Semantic roles & 50–950 ramp

primary
#B22794
secondary
#6DC881
accent
#E76541
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22794

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

Preview Lab → · Contrast checker → · Palette generator →

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