#B12486#B12486

#B12486 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.4% C 0.198 H 343.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B12486
RGBrgb(177, 36, 134)
HSLhsl(318, 66%, 42%)
HSVhsv(318, 80%, 69%)
CMYKcmyk(0%, 79.7%, 24.3%, 30.6%)
CIE-LABlab(41.74, 63.00, -20.78)
CIE-LCHlch(41.74, 66.34, 341.74°)
OKLaboklab(52.42% 0.1905 -0.0556)
OKLCHoklch(52.42% 0.198 343.7)
XYZxyz(23.0664, 12.3326, 23.7153)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12486 #24B14F
analogous
#9624B1 #B12486 #B12440
triadic
#B12486 #86B124 #2486B1
tetradic
#B12486 #B19624 #24B14F #2440B1
square
#B12486 #B19624 #24B14F #2440B1
split-complementary
#B12486 #40B124 #24B196
monochromatic
#4B0F39 #7E1A5F #B12486 #D73BA8 #E16EBE

Accessibility & contrast

On white

6.06
#B12486 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12486
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12486#FFFFFF#000000##FFFFFF
##B124861.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365489
Deuteranopia (green-blind)
#626B83
Tritanopia (blue-blind)
#BD2353
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b12486;
/* rgb */ color: rgb(177, 36, 134);
/* oklch */ color: oklch(52.4% 0.198 343.7);
Tailwind
colors: {
  custom: {
    50: '#cd6fa9',
    500: '#b12486',
    950: '#000000',
  },
}
SCSS
$custom: #b12486;
$custom-light: #cd6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#b12486",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 318.298,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52415,
    "c": 0.19848,
    "h": 343.7
  },
  "luminance": 0.1233
}

Semantic roles & 50–950 ramp

primary
#B12486
secondary
#69C886
accent
#E9733F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B12486

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

Preview Lab → · Contrast checker → · Palette generator →

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