#B22579#B22579

#B22579 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.1% C 0.191 H 349.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B22579
RGBrgb(178, 37, 121)
HSLhsl(324, 66%, 42%)
HSVhsv(324, 79%, 70%)
CMYKcmyk(0%, 79.2%, 32%, 30.2%)
CIE-LABlab(41.49, 61.40, -13.14)
CIE-LCHlch(41.49, 62.79, 347.92°)
OKLaboklab(52.09% 0.1879 -0.0343)
OKLCHoklch(52.09% 0.191 349.6)
XYZxyz(22.4741, 12.1713, 19.2512)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22579 #25B25E
analogous
#A425B2 #B22579 #B22533
triadic
#B22579 #79B225 #2579B2
tetradic
#B22579 #B2A425 #25B25E #2533B2
square
#B22579 #B2A425 #25B25E #2533B2
split-complementary
#B22579 #33B225 #25B2A4
monochromatic
#4D1034 #7F1A57 #B22579 #D73D99 #E170B4

Accessibility & contrast

On white

6.12
#B22579 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B22579 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22579
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22579#FFFFFF#000000##FFFFFF
##B225791.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E527B
Deuteranopia (green-blind)
#676B76
Tritanopia (blue-blind)
#BF1A4C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22579;
/* rgb */ color: rgb(178, 37, 121);
/* oklch */ color: oklch(52.1% 0.191 349.6);
Tailwind
colors: {
  custom: {
    50: '#ce6f9f',
    500: '#b22579',
    950: '#000000',
  },
}
SCSS
$custom: #b22579;
$custom-light: #ce6f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#b22579",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 324.255,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52091,
    "c": 0.19104,
    "h": 349.6
  },
  "luminance": 0.12169
}

Semantic roles & 50–950 ramp

primary
#B22579
secondary
#6BC890
accent
#E9843F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B22579

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

Preview Lab → · Contrast checker → · Palette generator →

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