#B02787#B02787

#B02787 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.5% C 0.196 H 343.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B02787
RGBrgb(176, 39, 135)
HSLhsl(318, 64%, 42%)
HSVhsv(318, 78%, 69%)
CMYKcmyk(0%, 77.8%, 23.3%, 31%)
CIE-LABlab(41.90, 62.04, -21.17)
CIE-LCHlch(41.90, 65.56, 341.16°)
OKLaboklab(52.51% 0.1872 -0.0567)
OKLCHoklch(52.51% 0.196 343.2)
XYZxyz(23.0041, 12.4329, 24.1053)
Luminance0.1243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02787 #27B050
analogous
#9527B0 #B02787 #B02743
triadic
#B02787 #87B027 #2787B0
tetradic
#B02787 #B09527 #27B050 #2743B0
square
#B02787 #B09527 #27B050 #2743B0
split-complementary
#B02787 #43B027 #27B095
monochromatic
#4C113A #7E1C61 #B02787 #D540A8 #E072BF

Accessibility & contrast

On white

6.02
#B02787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B02787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02787
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02787#FFFFFF#000000##FFFFFF
##B027871.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37548A
Deuteranopia (green-blind)
#626B84
Tritanopia (blue-blind)
#BC2754
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b02787;
/* rgb */ color: rgb(176, 39, 135);
/* oklch */ color: oklch(52.5% 0.196 343.2);
Tailwind
colors: {
  custom: {
    50: '#cc70aa',
    500: '#b02787',
    950: '#000000',
  },
}
SCSS
$custom: #b02787;
$custom-light: #cc70aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b02787",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 317.956,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52509,
    "c": 0.19561,
    "h": 343.2
  },
  "luminance": 0.1243
}

Semantic roles & 50–950 ramp

primary
#B02787
secondary
#6CC787
accent
#E77341
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02787

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

Preview Lab → · Contrast checker → · Palette generator →

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