#B22792#B22792

#B22792 is a mid, highly saturated pink. Relative luminance 0.130; OKLCH L 53.4% C 0.204 H 339.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B22792
RGBrgb(178, 39, 146)
HSLhsl(314, 64%, 43%)
HSVhsv(314, 78%, 70%)
CMYKcmyk(0%, 78.1%, 18%, 30.2%)
CIE-LABlab(42.75, 63.98, -26.51)
CIE-LCHlch(42.75, 69.26, 337.49°)
OKLaboklab(53.36% 0.1906 -0.0718)
OKLCHoklch(53.36% 0.204 339.4)
XYZxyz(24.2746, 12.9938, 28.4182)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22792 #27B247
analogous
#8C27B2 #B22792 #B2274C
triadic
#B22792 #92B227 #2792B2
tetradic
#B22792 #B28C27 #27B247 #274CB2
square
#B22792 #B28C27 #27B247 #274CB2
split-complementary
#B22792 #4CB227 #27B28C
monochromatic
#4E1140 #801C69 #B22792 #D541B3 #E073C7

Accessibility & contrast

On white

5.84
#B22792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B22792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22792
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22792#FFFFFF#000000##FFFFFF
##B227921.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315795
Deuteranopia (green-blind)
#5F6D8F
Tritanopia (blue-blind)
#BD2D5B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22792;
/* rgb */ color: rgb(178, 39, 146);
/* oklch */ color: oklch(53.4% 0.204 339.4);
Tailwind
colors: {
  custom: {
    50: '#cd71b2',
    500: '#b22792',
    950: '#000000',
  },
}
SCSS
$custom: #b22792;
$custom-light: #cd71b2;
$custom-dark: #000000;
JSON
{
  "hex": "#b22792",
  "rgb": {
    "r": 178,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 313.813,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53357,
    "c": 0.20368,
    "h": 339.4
  },
  "luminance": 0.12991
}

Semantic roles & 50–950 ramp

primary
#B22792
secondary
#6DC882
accent
#E76741
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22792

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

Preview Lab → · Contrast checker → · Palette generator →

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