#B02386#B02386

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

Color values

HEX#B02386
RGBrgb(176, 35, 134)
HSLhsl(318, 67%, 41%)
HSVhsv(318, 80%, 69%)
CMYKcmyk(0%, 80.1%, 23.9%, 31%)
CIE-LABlab(41.46, 63.03, -21.22)
CIE-LCHlch(41.46, 66.51, 341.39°)
OKLaboklab(52.18% 0.1905 -0.0568)
OKLCHoklch(52.18% 0.199 343.4)
XYZxyz(22.8095, 12.1559, 23.6947)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02386 #23B04D
analogous
#9423B0 #B02386 #B02340
triadic
#B02386 #86B023 #2386B0
tetradic
#B02386 #B09423 #23B04D #2340B0
square
#B02386 #B09423 #23B04D #2340B0
split-complementary
#B02386 #40B023 #23B094
monochromatic
#4A0F38 #7D195F #B02386 #D839A8 #E26CBF

Accessibility & contrast

On white

6.12
#B02386 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B02386 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02386
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02386#FFFFFF#000000##FFFFFF
##B023861.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345389
Deuteranopia (green-blind)
#616A83
Tritanopia (blue-blind)
#BC2353
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b02386;
/* rgb */ color: rgb(176, 35, 134);
/* oklch */ color: oklch(52.2% 0.199 343.4);
Tailwind
colors: {
  custom: {
    50: '#cc6fa9',
    500: '#b02386',
    950: '#000000',
  },
}
SCSS
$custom: #b02386;
$custom-light: #cc6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#b02386",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 317.872,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52181,
    "c": 0.19878,
    "h": 343.4
  },
  "luminance": 0.12153
}

Semantic roles & 50–950 ramp

primary
#B02386
secondary
#67C884
accent
#EA713E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B02386

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

Preview Lab → · Contrast checker → · Palette generator →

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