#B02486#B02486

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

Color values

HEX#B02486
RGBrgb(176, 36, 134)
HSLhsl(318, 66%, 42%)
HSVhsv(318, 80%, 69%)
CMYKcmyk(0%, 79.5%, 23.9%, 31%)
CIE-LABlab(41.56, 62.76, -21.08)
CIE-LCHlch(41.56, 66.21, 341.43°)
OKLaboklab(52.25% 0.1897 -0.0564)
OKLCHoklch(52.25% 0.198 343.4)
XYZxyz(22.8394, 12.2156, 23.7047)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02486 #24B04E
analogous
#9424B0 #B02486 #B02440
triadic
#B02486 #86B024 #2486B0
tetradic
#B02486 #B09424 #24B04E #2440B0
square
#B02486 #B09424 #24B04E #2440B0
split-complementary
#B02486 #40B024 #24B094
monochromatic
#4A0F39 #7D1A5F #B02486 #D73AA8 #E16DBE

Accessibility & contrast

On white

6.10
#B02486 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02486
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02486#FFFFFF#000000##FFFFFF
##B024861.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b02486;
/* rgb */ color: rgb(176, 36, 134);
/* oklch */ color: oklch(52.2% 0.198 343.4);
Tailwind
colors: {
  custom: {
    50: '#cc6fa9',
    500: '#b02486',
    950: '#000000',
  },
}
SCSS
$custom: #b02486;
$custom-light: #cc6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#b02486",
  "rgb": {
    "r": 176,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 318,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52249,
    "c": 0.19786,
    "h": 343.4
  },
  "luminance": 0.12213
}

Semantic roles & 50–950 ramp

primary
#B02486
secondary
#68C885
accent
#E9723F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B02486

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

Preview Lab → · Contrast checker → · Palette generator →

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