#B02588#B02588

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

Color values

HEX#B02588
RGBrgb(176, 37, 136)
HSLhsl(317, 65%, 42%)
HSVhsv(317, 79%, 69%)
CMYKcmyk(0%, 79%, 22.7%, 31%)
CIE-LABlab(41.74, 62.74, -22.02)
CIE-LCHlch(41.74, 66.50, 340.66°)
OKLaboklab(52.41% 0.1891 -0.0591)
OKLCHoklch(52.41% 0.198 342.7)
XYZxyz(23.0109, 12.3333, 24.4565)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02588 #25B04D
analogous
#9325B0 #B02588 #B02543
triadic
#B02588 #88B025 #2588B0
tetradic
#B02588 #B09325 #25B04D #2543B0
square
#B02588 #B09325 #25B04D #2543B0
split-complementary
#B02588 #43B025 #25B093
monochromatic
#4B103A #7D1A61 #B02588 #D63CAA #E16FC0

Accessibility & contrast

On white

6.06
#B02588 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02588
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02588#FFFFFF#000000##FFFFFF
##B025881.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35548B
Deuteranopia (green-blind)
#616B85
Tritanopia (blue-blind)
#BB2654
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b02588;
/* rgb */ color: rgb(176, 37, 136);
/* oklch */ color: oklch(52.4% 0.198 342.7);
Tailwind
colors: {
  custom: {
    50: '#cc70ab',
    500: '#b02588',
    950: '#000000',
  },
}
SCSS
$custom: #b02588;
$custom-light: #cc70ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b02588",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 136
  },
  "hsl": {
    "h": 317.266,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52411,
    "c": 0.19813,
    "h": 342.7
  },
  "luminance": 0.12331
}

Semantic roles & 50–950 ramp

primary
#B02588
secondary
#6AC785
accent
#E87040
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B02588

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

Preview Lab → · Contrast checker → · Palette generator →

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