#B22585#B22585

#B22585 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.6% C 0.198 H 344.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#B22585
RGBrgb(178, 37, 133)
HSLhsl(319, 66%, 42%)
HSVhsv(319, 79%, 70%)
CMYKcmyk(0%, 79.2%, 25.3%, 30.2%)
CIE-LABlab(41.98, 62.84, -19.79)
CIE-LCHlch(41.98, 65.88, 342.52°)
OKLaboklab(52.61% 0.1904 -0.0528)
OKLCHoklch(52.61% 0.198 344.5)
XYZxyz(23.2563, 12.4841, 23.3707)
Luminance0.1248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22585 #25B252
analogous
#9925B2 #B22585 #B2253F
triadic
#B22585 #85B225 #2585B2
tetradic
#B22585 #B29925 #25B252 #253FB2
square
#B22585 #B29925 #25B252 #253FB2
split-complementary
#B22585 #3FB225 #25B299
monochromatic
#4D1039 #7F1A5F #B22585 #D73DA6 #E170BD

Accessibility & contrast

On white

6.01
#B22585 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B22585 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22585
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22585#FFFFFF#000000##FFFFFF
##B225851.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385487
Deuteranopia (green-blind)
#636B82
Tritanopia (blue-blind)
#BE2353
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b22585;
/* rgb */ color: rgb(178, 37, 133);
/* oklch */ color: oklch(52.6% 0.198 344.5);
Tailwind
colors: {
  custom: {
    50: '#cd70a8',
    500: '#b22585',
    950: '#000000',
  },
}
SCSS
$custom: #b22585;
$custom-light: #cd70a8;
$custom-dark: #000000;
JSON
{
  "hex": "#b22585",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 319.149,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52605,
    "c": 0.19759,
    "h": 344.5
  },
  "luminance": 0.12482
}

Semantic roles & 50–950 ramp

primary
#B22585
secondary
#6BC889
accent
#E9753F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B22585

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

Preview Lab → · Contrast checker → · Palette generator →

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