#B02487#B02487

#B02487 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.3% C 0.198 H 343.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B02487
RGBrgb(176, 36, 135)
HSLhsl(318, 66%, 42%)
HSVhsv(318, 80%, 69%)
CMYKcmyk(0%, 79.5%, 23.3%, 31%)
CIE-LABlab(41.60, 62.89, -21.63)
CIE-LCHlch(41.60, 66.50, 341.02°)
OKLaboklab(52.3% 0.1898 -0.058)
OKLCHoklch(52.3% 0.198 343)
XYZxyz(22.9094, 12.2436, 24.0737)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02487 #24B04D
analogous
#9324B0 #B02487 #B02441
triadic
#B02487 #87B024 #2487B0
tetradic
#B02487 #B09324 #24B04D #2441B0
square
#B02487 #B09324 #24B04D #2441B0
split-complementary
#B02487 #41B024 #24B093
monochromatic
#4A0F39 #7D1A60 #B02487 #D73AA9 #E16DBF

Accessibility & contrast

On white

6.09
#B02487 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B02487 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02487
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02487#FFFFFF#000000##FFFFFF
##B024871.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b02487;
/* rgb */ color: rgb(176, 36, 135);
/* oklch */ color: oklch(52.3% 0.198 343.0);
Tailwind
colors: {
  custom: {
    50: '#cc6faa',
    500: '#b02487',
    950: '#000000',
  },
}
SCSS
$custom: #b02487;
$custom-light: #cc6faa;
$custom-dark: #000000;
JSON
{
  "hex": "#b02487",
  "rgb": {
    "r": 176,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 317.571,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52295,
    "c": 0.19846,
    "h": 343
  },
  "luminance": 0.12241
}

Semantic roles & 50–950 ramp

primary
#B02487
secondary
#68C884
accent
#E9713F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B02487

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

Preview Lab → · Contrast checker → · Palette generator →

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