#B22993#B22993

#B22993 is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.6% C 0.202 H 339.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B22993
RGBrgb(178, 41, 147)
HSLhsl(314, 63%, 43%)
HSVhsv(314, 77%, 70%)
CMYKcmyk(0%, 77%, 17.4%, 30.2%)
CIE-LABlab(43.00, 63.54, -26.73)
CIE-LCHlch(43.00, 68.93, 337.18°)
OKLaboklab(53.55% 0.189 -0.0724)
OKLCHoklch(53.55% 0.202 339)
XYZxyz(24.4201, 13.1598, 28.8521)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22993 #29B248
analogous
#8D29B2 #B22993 #B2294E
triadic
#B22993 #93B229 #2993B2
tetradic
#B22993 #B28D29 #29B248 #294EB2
square
#B22993 #B28D29 #29B248 #294EB2
split-complementary
#B22993 #4EB229 #29B28D
monochromatic
#4F1241 #801E6A #B22993 #D444B3 #DF76C8

Accessibility & contrast

On white

5.78
#B22993 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B22993 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22993
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22993#FFFFFF#000000##FFFFFF
##B229931.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325896
Deuteranopia (green-blind)
#606D90
Tritanopia (blue-blind)
#BC2F5C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b22993;
/* rgb */ color: rgb(178, 41, 147);
/* oklch */ color: oklch(53.6% 0.202 339.0);
Tailwind
colors: {
  custom: {
    50: '#cd72b3',
    500: '#b22993',
    950: '#000000',
  },
}
SCSS
$custom: #b22993;
$custom-light: #cd72b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b22993",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 147
  },
  "hsl": {
    "h": 313.577,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53552,
    "c": 0.20237,
    "h": 339
  },
  "luminance": 0.13157
}

Semantic roles & 50–950 ramp

primary
#B22993
secondary
#70C784
accent
#E66742
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22993

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

Preview Lab → · Contrast checker → · Palette generator →

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