#B12784#B12784

#B12784 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.194 H 344.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#B12784
RGBrgb(177, 39, 132)
HSLhsl(320, 64%, 42%)
HSVhsv(320, 78%, 69%)
CMYKcmyk(0%, 78%, 25.4%, 30.6%)
CIE-LABlab(41.95, 61.90, -19.23)
CIE-LCHlch(41.95, 64.82, 342.74°)
OKLaboklab(52.54% 0.1876 -0.0513)
OKLCHoklch(52.54% 0.194 344.7)
XYZxyz(23.0228, 12.4666, 23.0192)
Luminance0.1246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12784 #27B154
analogous
#9927B1 #B12784 #B1273F
triadic
#B12784 #84B127 #2784B1
tetradic
#B12784 #B19927 #27B154 #273FB1
square
#B12784 #B19927 #27B154 #273FB1
split-complementary
#B12784 #3FB127 #27B199
monochromatic
#4D1139 #7F1C5F #B12784 #D540A4 #E072BC

Accessibility & contrast

On white

6.01
#B12784 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B12784 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12784
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12784#FFFFFF#000000##FFFFFF
##B127841.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395486
Deuteranopia (green-blind)
#646B81
Tritanopia (blue-blind)
#BD2553
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b12784;
/* rgb */ color: rgb(177, 39, 132);
/* oklch */ color: oklch(52.5% 0.194 344.7);
Tailwind
colors: {
  custom: {
    50: '#cd70a8',
    500: '#b12784',
    950: '#000000',
  },
}
SCSS
$custom: #b12784;
$custom-light: #cd70a8;
$custom-dark: #000000;
JSON
{
  "hex": "#b12784",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 132
  },
  "hsl": {
    "h": 319.565,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52538,
    "c": 0.19446,
    "h": 344.7
  },
  "luminance": 0.12464
}

Semantic roles & 50–950 ramp

primary
#B12784
secondary
#6DC78A
accent
#E77741
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B12784

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

Preview Lab → · Contrast checker → · Palette generator →

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