#B2579D#B2579D

#B2579D is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.1% C 0.146 H 336.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B2579D
RGBrgb(178, 87, 157)
HSLhsl(314, 37%, 52%)
HSVhsv(314, 51%, 70%)
CMYKcmyk(0%, 51.1%, 11.8%, 30.2%)
CIE-LABlab(50.36, 46.10, -21.33)
CIE-LCHlch(50.36, 50.80, 335.17°)
OKLaboklab(59.08% 0.1343 -0.0575)
OKLCHoklch(59.08% 0.146 336.8)
XYZxyz(27.8543, 18.7176, 34.0375)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2579D #57B26C
analogous
#9A57B2 #B2579D #B25770
triadic
#B2579D #9DB257 #579DB2
tetradic
#B2579D #B29A57 #57B26C #5770B2
square
#B2579D #B29A57 #57B26C #5770B2
split-complementary
#B2579D #70B257 #57B29A
monochromatic
#622D56 #8C407A #B2579D #C581B5 #D8ABCE

Accessibility & contrast

On white

4.43
#B2579D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B2579D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B2579D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2579D#FFFFFF#000000##000000
##B2579D1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#596F9F
Deuteranopia (green-blind)
#727D9B
Tritanopia (blue-blind)
#BA5B73
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b2579d;
/* rgb */ color: rgb(178, 87, 157);
/* oklch */ color: oklch(59.1% 0.146 336.8);
Tailwind
colors: {
  custom: {
    50: '#cb8aba',
    500: '#b2579d',
    950: '#000000',
  },
}
SCSS
$custom: #b2579d;
$custom-light: #cb8aba;
$custom-dark: #000000;
JSON
{
  "hex": "#b2579d",
  "rgb": {
    "r": 178,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 313.846,
    "s": 37.143,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59081,
    "c": 0.14609,
    "h": 336.8
  },
  "luminance": 0.18716
}

Semantic roles & 50–950 ramp

primary
#B2579D
secondary
#9EC6A8
accent
#CD755B
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140C11
muted
#827D80

Preview Lab

Preview with #B2579D

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

Preview Lab → · Contrast checker → · Palette generator →

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