#B22493#B22493

#B22493 is a mid, highly saturated pink. Relative luminance 0.128; OKLCH L 53.2% C 0.207 H 338.9°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B22493
RGBrgb(178, 36, 147)
HSLhsl(313, 66%, 42%)
HSVhsv(313, 80%, 70%)
CMYKcmyk(0%, 79.8%, 17.4%, 30.2%)
CIE-LABlab(42.51, 64.94, -27.49)
CIE-LCHlch(42.51, 70.52, 337.05°)
OKLaboklab(53.2% 0.1932 -0.0745)
OKLCHoklch(53.2% 0.207 338.9)
XYZxyz(24.2581, 12.8357, 28.7981)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22493 #24B243
analogous
#8A24B2 #B22493 #B2244C
triadic
#B22493 #93B224 #2493B2
tetradic
#B22493 #B28A24 #24B243 #244CB2
square
#B22493 #B28A24 #24B243 #244CB2
split-complementary
#B22493 #4CB224 #24B28A
monochromatic
#4C0F3F #7F1A69 #B22493 #D83CB5 #E26FC9

Accessibility & contrast

On white

5.89
#B22493 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B22493 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22493
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22493#FFFFFF#000000##FFFFFF
##B224931.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5696
Deuteranopia (green-blind)
#5E6C90
Tritanopia (blue-blind)
#BC2B5A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22493;
/* rgb */ color: rgb(178, 36, 147);
/* oklch */ color: oklch(53.2% 0.207 338.9);
Tailwind
colors: {
  custom: {
    50: '#cd70b3',
    500: '#b22493',
    950: '#000000',
  },
}
SCSS
$custom: #b22493;
$custom-light: #cd70b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b22493",
  "rgb": {
    "r": 178,
    "g": 36,
    "b": 147
  },
  "hsl": {
    "h": 313.099,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53201,
    "c": 0.20709,
    "h": 338.9
  },
  "luminance": 0.12833
}

Semantic roles & 50–950 ramp

primary
#B22493
secondary
#69C87E
accent
#E9643F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22493

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

Preview Lab → · Contrast checker → · Palette generator →

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