#B02598#B02598

#B02598 is a mid, highly saturated pink. Relative luminance 0.128; OKLCH L 53.2% C 0.208 H 336.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B02598
RGBrgb(176, 37, 152)
HSLhsl(310, 65%, 42%)
HSVhsv(310, 79%, 69%)
CMYKcmyk(0%, 79%, 13.6%, 31%)
CIE-LABlab(42.49, 64.92, -30.58)
CIE-LCHlch(42.49, 71.76, 334.78°)
OKLaboklab(53.2% 0.191 -0.0834)
OKLCHoklch(53.2% 0.208 336.4)
XYZxyz(24.2340, 12.8225, 30.8984)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02598 #25B03D
analogous
#8325B0 #B02598 #B02552
triadic
#B02598 #98B025 #2598B0
tetradic
#B02598 #B08325 #25B03D #2552B0
square
#B02598 #B08325 #25B03D #2552B0
split-complementary
#B02598 #52B025 #25B083
monochromatic
#4B1041 #7D1A6C #B02598 #D63CBB #E16FCD

Accessibility & contrast

On white

5.89
#B02598 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B02598 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02598
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02598#FFFFFF#000000##FFFFFF
##B025981.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28579B
Deuteranopia (green-blind)
#5B6C95
Tritanopia (blue-blind)
#B9305D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02598;
/* rgb */ color: rgb(176, 37, 152);
/* oklch */ color: oklch(53.2% 0.208 336.4);
Tailwind
colors: {
  custom: {
    50: '#cc70b6',
    500: '#b02598',
    950: '#000000',
  },
}
SCSS
$custom: #b02598;
$custom-light: #cc70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b02598",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 310.36,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53199,
    "c": 0.20839,
    "h": 336.4
  },
  "luminance": 0.1282
}

Semantic roles & 50–950 ramp

primary
#B02598
secondary
#6AC77A
accent
#E85D40
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02598

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

Preview Lab → · Contrast checker → · Palette generator →

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