#B02687#B02687

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

Color values

HEX#B02687
RGBrgb(176, 38, 135)
HSLhsl(318, 64%, 42%)
HSVhsv(318, 78%, 69%)
CMYKcmyk(0%, 78.4%, 23.3%, 31%)
CIE-LABlab(41.80, 62.33, -21.32)
CIE-LCHlch(41.80, 65.88, 341.11°)
OKLaboklab(52.44% 0.1881 -0.0571)
OKLCHoklch(52.44% 0.197 343.1)
XYZxyz(22.9717, 12.3681, 24.0945)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02687 #26B04F
analogous
#9426B0 #B02687 #B02642
triadic
#B02687 #87B026 #2687B0
tetradic
#B02687 #B09426 #26B04F #2642B0
square
#B02687 #B09426 #26B04F #2642B0
split-complementary
#B02687 #42B026 #26B094
monochromatic
#4B103A #7E1B60 #B02687 #D53EA8 #E070BF

Accessibility & contrast

On white

6.05
#B02687 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02687
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02687#FFFFFF#000000##FFFFFF
##B026871.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b02687;
/* rgb */ color: rgb(176, 38, 135);
/* oklch */ color: oklch(52.4% 0.197 343.1);
Tailwind
colors: {
  custom: {
    50: '#cc70aa',
    500: '#b02687',
    950: '#000000',
  },
}
SCSS
$custom: #b02687;
$custom-light: #cc70aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b02687",
  "rgb": {
    "r": 176,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 317.826,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52436,
    "c": 0.19658,
    "h": 343.1
  },
  "luminance": 0.12366
}

Semantic roles & 50–950 ramp

primary
#B02687
secondary
#6BC786
accent
#E77240
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B02687

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

Preview Lab → · Contrast checker → · Palette generator →

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