#B22793#B22793

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

Color values

HEX#B22793
RGBrgb(178, 39, 147)
HSLhsl(313, 64%, 43%)
HSVhsv(313, 78%, 70%)
CMYKcmyk(0%, 78.1%, 17.4%, 30.2%)
CIE-LABlab(42.80, 64.12, -27.05)
CIE-LCHlch(42.80, 69.59, 337.13°)
OKLaboklab(53.41% 0.1907 -0.0733)
OKLCHoklch(53.41% 0.204 339)
XYZxyz(24.3527, 13.0250, 28.8297)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22793 #27B246
analogous
#8B27B2 #B22793 #B2274E
triadic
#B22793 #93B227 #2793B2
tetradic
#B22793 #B28B27 #27B246 #274EB2
square
#B22793 #B28B27 #27B246 #274EB2
split-complementary
#B22793 #4EB227 #27B28B
monochromatic
#4E1140 #801C6A #B22793 #D541B4 #E073C8

Accessibility & contrast

On white

5.83
#B22793 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22793
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22793#FFFFFF#000000##FFFFFF
##B227931.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305796
Deuteranopia (green-blind)
#5F6D90
Tritanopia (blue-blind)
#BC2E5B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22793;
/* rgb */ color: rgb(178, 39, 147);
/* oklch */ color: oklch(53.4% 0.204 339.0);
Tailwind
colors: {
  custom: {
    50: '#cd71b3',
    500: '#b22793',
    950: '#000000',
  },
}
SCSS
$custom: #b22793;
$custom-light: #cd71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b22793",
  "rgb": {
    "r": 178,
    "g": 39,
    "b": 147
  },
  "hsl": {
    "h": 313.381,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53407,
    "c": 0.20432,
    "h": 339
  },
  "luminance": 0.13023
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B22793

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

Preview Lab → · Contrast checker → · Palette generator →

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