#B42597#B42597

#B42597 is a mid, highly saturated pink. Relative luminance 0.133; OKLCH L 53.8% C 0.210 H 338.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B42597
RGBrgb(180, 37, 151)
HSLhsl(312, 66%, 43%)
HSVhsv(312, 79%, 71%)
CMYKcmyk(0%, 79.4%, 16.1%, 29.4%)
CIE-LABlab(43.16, 65.67, -28.88)
CIE-LCHlch(43.16, 71.74, 336.26°)
OKLaboklab(53.79% 0.1947 -0.0785)
OKLCHoklch(53.79% 0.21 338)
XYZxyz(25.0705, 13.2633, 30.5119)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42597 #25B442
analogous
#8A25B4 #B42597 #B4254F
triadic
#B42597 #97B425 #2597B4
tetradic
#B42597 #B48A25 #25B442 #254FB4
square
#B42597 #B48A25 #25B442 #254FB4
split-complementary
#B42597 #4FB425 #25B48A
monochromatic
#4E1042 #811B6C #B42597 #D73FB8 #E271CB

Accessibility & contrast

On white

5.75
#B42597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B42597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42597
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42597#FFFFFF#000000##FFFFFF
##B425971.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589A
Deuteranopia (green-blind)
#5E6E94
Tritanopia (blue-blind)
#BE2E5D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42597;
/* rgb */ color: rgb(180, 37, 151);
/* oklch */ color: oklch(53.8% 0.210 338.0);
Tailwind
colors: {
  custom: {
    50: '#cf71b6',
    500: '#b42597',
    950: '#000000',
  },
}
SCSS
$custom: #b42597;
$custom-light: #cf71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b42597",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 312.168,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53791,
    "c": 0.20988,
    "h": 338
  },
  "luminance": 0.13261
}

Semantic roles & 50–950 ramp

primary
#B42597
secondary
#6CC97F
accent
#E9613F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42597

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

Preview Lab → · Contrast checker → · Palette generator →

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