#B02587#B02587

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

Color values

HEX#B02587
RGBrgb(176, 37, 135)
HSLhsl(318, 65%, 42%)
HSVhsv(318, 79%, 69%)
CMYKcmyk(0%, 79%, 23.3%, 31%)
CIE-LABlab(41.70, 62.61, -21.48)
CIE-LCHlch(41.70, 66.19, 341.07°)
OKLaboklab(52.36% 0.189 -0.0575)
OKLCHoklch(52.36% 0.198 343.1)
XYZxyz(22.9401, 12.3050, 24.0840)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02587 #25B04E
analogous
#9425B0 #B02587 #B02542
triadic
#B02587 #87B025 #2587B0
tetradic
#B02587 #B09425 #25B04E #2542B0
square
#B02587 #B09425 #25B04E #2542B0
split-complementary
#B02587 #42B025 #25B094
monochromatic
#4B1039 #7D1A60 #B02587 #D63CA9 #E16FBF

Accessibility & contrast

On white

6.07
#B02587 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B02587 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02587
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02587#FFFFFF#000000##FFFFFF
##B025871.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35548A
Deuteranopia (green-blind)
#616A84
Tritanopia (blue-blind)
#BC2654
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b02587;
/* rgb */ color: rgb(176, 37, 135);
/* oklch */ color: oklch(52.4% 0.198 343.1);
Tailwind
colors: {
  custom: {
    50: '#cc70aa',
    500: '#b02587',
    950: '#000000',
  },
}
SCSS
$custom: #b02587;
$custom-light: #cc70aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b02587",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 317.698,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52365,
    "c": 0.19753,
    "h": 343.1
  },
  "luminance": 0.12303
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B02587

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

Preview Lab → · Contrast checker → · Palette generator →

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