#B22591#B22591

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

Color values

HEX#B22591
RGBrgb(178, 37, 145)
HSLhsl(314, 66%, 42%)
HSVhsv(314, 79%, 70%)
CMYKcmyk(0%, 79.2%, 18.5%, 30.2%)
CIE-LABlab(42.51, 64.40, -26.28)
CIE-LCHlch(42.51, 69.56, 337.80°)
OKLaboklab(53.17% 0.1922 -0.0711)
OKLCHoklch(53.17% 0.205 339.7)
XYZxyz(24.1332, 12.8349, 27.9890)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22591 #25B246
analogous
#8D25B2 #B22591 #B2254A
triadic
#B22591 #91B225 #2591B2
tetradic
#B22591 #B28D25 #25B246 #254AB2
square
#B22591 #B28D25 #25B246 #254AB2
split-complementary
#B22591 #4AB225 #25B28D
monochromatic
#4D103E #7F1A68 #B22591 #D73DB3 #E170C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B22591#FFFFFF#000000##FFFFFF
##B225911.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)
#305694
Deuteranopia (green-blind)
#5F6C8E
Tritanopia (blue-blind)
#BD2B59
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22591;
/* rgb */ color: rgb(178, 37, 145);
/* oklch */ color: oklch(53.2% 0.205 339.7);
Tailwind
colors: {
  custom: {
    50: '#cd70b1',
    500: '#b22591',
    950: '#000000',
  },
}
SCSS
$custom: #b22591;
$custom-light: #cd70b1;
$custom-dark: #000000;
JSON
{
  "hex": "#b22591",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 314.043,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53169,
    "c": 0.2049,
    "h": 339.7
  },
  "luminance": 0.12832
}

Semantic roles & 50–950 ramp

primary
#B22591
secondary
#6BC881
accent
#E9673F
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22591

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

Preview Lab → · Contrast checker → · Palette generator →

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