#B22589#B22589

#B22589 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.8% C 0.200 H 342.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B22589
RGBrgb(178, 37, 137)
HSLhsl(317, 66%, 42%)
HSVhsv(317, 79%, 70%)
CMYKcmyk(0%, 79.2%, 23%, 30.2%)
CIE-LABlab(42.15, 63.34, -21.97)
CIE-LCHlch(42.15, 67.05, 340.87°)
OKLaboklab(52.79% 0.1911 -0.0589)
OKLCHoklch(52.79% 0.2 342.9)
XYZxyz(23.5379, 12.5968, 24.8539)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22589 #25B24E
analogous
#9525B2 #B22589 #B22543
triadic
#B22589 #89B225 #2589B2
tetradic
#B22589 #B29525 #25B24E #2543B2
square
#B22589 #B29525 #25B24E #2543B2
split-complementary
#B22589 #43B225 #25B295
monochromatic
#4D103B #7F1A62 #B22589 #D73DAA #E170C0

Accessibility & contrast

On white

5.97
#B22589 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B22589 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22589
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22589#FFFFFF#000000##FFFFFF
##B225891.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558C
Deuteranopia (green-blind)
#626C86
Tritanopia (blue-blind)
#BE2655
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b22589;
/* rgb */ color: rgb(178, 37, 137);
/* oklch */ color: oklch(52.8% 0.200 342.9);
Tailwind
colors: {
  custom: {
    50: '#cd70ab',
    500: '#b22589',
    950: '#000000',
  },
}
SCSS
$custom: #b22589;
$custom-light: #cd70ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b22589",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 317.447,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52788,
    "c": 0.19995,
    "h": 342.9
  },
  "luminance": 0.12594
}

Semantic roles & 50–950 ramp

primary
#B22589
secondary
#6BC886
accent
#E9703F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22589

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

Preview Lab → · Contrast checker → · Palette generator →

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