#B02786#B02786

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

Color values

HEX#B02786
RGBrgb(176, 39, 134)
HSLhsl(318, 64%, 42%)
HSVhsv(318, 78%, 69%)
CMYKcmyk(0%, 77.8%, 23.9%, 31%)
CIE-LABlab(41.85, 61.92, -20.62)
CIE-LCHlch(41.85, 65.26, 341.58°)
OKLaboklab(52.46% 0.187 -0.0552)
OKLCHoklch(52.46% 0.195 343.6)
XYZxyz(22.9340, 12.4048, 23.7362)
Luminance0.1240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02786 #27B051
analogous
#9627B0 #B02786 #B02742
triadic
#B02786 #86B027 #2786B0
tetradic
#B02786 #B09627 #27B051 #2742B0
square
#B02786 #B09627 #27B051 #2742B0
split-complementary
#B02786 #42B027 #27B096
monochromatic
#4C113A #7E1C60 #B02786 #D540A7 #E072BE

Accessibility & contrast

On white

6.03
#B02786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B02786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02786
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02786#FFFFFF#000000##FFFFFF
##B027861.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375488
Deuteranopia (green-blind)
#626B83
Tritanopia (blue-blind)
#BC2754
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b02786;
/* rgb */ color: rgb(176, 39, 134);
/* oklch */ color: oklch(52.5% 0.195 343.6);
Tailwind
colors: {
  custom: {
    50: '#cc70a9',
    500: '#b02786',
    950: '#000000',
  },
}
SCSS
$custom: #b02786;
$custom-light: #cc70a9;
$custom-dark: #000000;
JSON
{
  "hex": "#b02786",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 318.394,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52463,
    "c": 0.195,
    "h": 343.6
  },
  "luminance": 0.12402
}

Semantic roles & 50–950 ramp

primary
#B02786
secondary
#6CC788
accent
#E77441
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02786

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

Preview Lab → · Contrast checker → · Palette generator →

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