#B02387#B02387

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

Color values

HEX#B02387
RGBrgb(176, 35, 135)
HSLhsl(317, 67%, 41%)
HSVhsv(317, 80%, 69%)
CMYKcmyk(0%, 80.1%, 23.3%, 31%)
CIE-LABlab(41.51, 63.16, -21.77)
CIE-LCHlch(41.51, 66.81, 340.98°)
OKLaboklab(52.23% 0.1906 -0.0584)
OKLCHoklch(52.23% 0.199 343)
XYZxyz(22.8796, 12.1839, 24.0638)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02387 #23B04C
analogous
#9323B0 #B02387 #B02341
triadic
#B02387 #87B023 #2387B0
tetradic
#B02387 #B09323 #23B04C #2341B0
square
#B02387 #B09323 #23B04C #2341B0
split-complementary
#B02387 #41B023 #23B093
monochromatic
#4A0F39 #7D1960 #B02387 #D839A9 #E26CBF

Accessibility & contrast

On white

6.11
#B02387 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B02387 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02387
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02387#FFFFFF#000000##FFFFFF
##B023871.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b02387;
/* rgb */ color: rgb(176, 35, 135);
/* oklch */ color: oklch(52.2% 0.199 343.0);
Tailwind
colors: {
  custom: {
    50: '#cc6faa',
    500: '#b02387',
    950: '#000000',
  },
}
SCSS
$custom: #b02387;
$custom-light: #cc6faa;
$custom-dark: #000000;
JSON
{
  "hex": "#b02387",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 317.447,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52227,
    "c": 0.19937,
    "h": 343
  },
  "luminance": 0.12181
}

Semantic roles & 50–950 ramp

primary
#B02387
secondary
#67C883
accent
#EA703E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B02387

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

Preview Lab → · Contrast checker → · Palette generator →

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