#B12586#B12586

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

Color values

HEX#B12586
RGBrgb(177, 37, 134)
HSLhsl(318, 65%, 42%)
HSVhsv(318, 79%, 69%)
CMYKcmyk(0%, 79.1%, 24.3%, 30.6%)
CIE-LABlab(41.84, 62.72, -20.63)
CIE-LCHlch(41.84, 66.03, 341.79°)
OKLaboklab(52.48% 0.1897 -0.0552)
OKLCHoklch(52.48% 0.198 343.8)
XYZxyz(23.0971, 12.3940, 23.7256)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12586 #25B150
analogous
#9625B1 #B12586 #B12540
triadic
#B12586 #86B125 #2586B1
tetradic
#B12586 #B19625 #25B150 #2540B1
square
#B12586 #B19625 #25B150 #2540B1
split-complementary
#B12586 #40B125 #25B196
monochromatic
#4C1039 #7E1A60 #B12586 #D63DA7 #E16FBE

Accessibility & contrast

On white

6.04
#B12586 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12586
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12586#FFFFFF#000000##FFFFFF
##B125861.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b12586;
/* rgb */ color: rgb(177, 37, 134);
/* oklch */ color: oklch(52.5% 0.198 343.8);
Tailwind
colors: {
  custom: {
    50: '#cd70a9',
    500: '#b12586',
    950: '#000000',
  },
}
SCSS
$custom: #b12586;
$custom-light: #cd70a9;
$custom-dark: #000000;
JSON
{
  "hex": "#b12586",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 318.429,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52484,
    "c": 0.19755,
    "h": 343.8
  },
  "luminance": 0.12391
}

Semantic roles & 50–950 ramp

primary
#B12586
secondary
#6AC887
accent
#E8733F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B12586

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

Preview Lab → · Contrast checker → · Palette generator →

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