#B22580#B22580

#B22580 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.4% C 0.195 H 346.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B22580
RGBrgb(178, 37, 128)
HSLhsl(321, 66%, 42%)
HSVhsv(321, 79%, 70%)
CMYKcmyk(0%, 79.2%, 28.1%, 30.2%)
CIE-LABlab(41.77, 62.22, -17.04)
CIE-LCHlch(41.77, 64.51, 344.69°)
OKLaboklab(52.39% 0.1895 -0.0451)
OKLCHoklch(52.39% 0.195 346.6)
XYZxyz(22.9191, 12.3492, 21.5946)
Luminance0.1235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22580 #25B257
analogous
#9E25B2 #B22580 #B22539
triadic
#B22580 #80B225 #2580B2
tetradic
#B22580 #B29E25 #25B257 #2539B2
square
#B22580 #B29E25 #25B257 #2539B2
split-complementary
#B22580 #39B225 #25B29E
monochromatic
#4D1037 #7F1A5C #B22580 #D73DA0 #E170B9

Accessibility & contrast

On white

6.05
#B22580 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B22580 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22580
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22580#FFFFFF#000000##FFFFFF
##B225801.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5382
Deuteranopia (green-blind)
#656B7D
Tritanopia (blue-blind)
#BF2050
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b22580;
/* rgb */ color: rgb(178, 37, 128);
/* oklch */ color: oklch(52.4% 0.195 346.6);
Tailwind
colors: {
  custom: {
    50: '#ce70a5',
    500: '#b22580',
    950: '#000000',
  },
}
SCSS
$custom: #b22580;
$custom-light: #ce70a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b22580",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 128
  },
  "hsl": {
    "h": 321.277,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52385,
    "c": 0.19476,
    "h": 346.6
  },
  "luminance": 0.12347
}

Semantic roles & 50–950 ramp

primary
#B22580
secondary
#6BC88C
accent
#E97B3F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B22580

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

Preview Lab → · Contrast checker → · Palette generator →

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