#B12780#B12780

#B12780 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.4% C 0.192 H 346.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B12780
RGBrgb(177, 39, 128)
HSLhsl(321, 64%, 42%)
HSVhsv(321, 78%, 69%)
CMYKcmyk(0%, 78%, 27.7%, 30.6%)
CIE-LABlab(41.78, 61.41, -17.03)
CIE-LCHlch(41.78, 63.72, 344.50°)
OKLaboklab(52.36% 0.1868 -0.0451)
OKLCHoklch(52.36% 0.192 346.4)
XYZxyz(22.7543, 12.3592, 21.6052)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12780 #27B158
analogous
#9D27B1 #B12780 #B1273B
triadic
#B12780 #80B127 #2780B1
tetradic
#B12780 #B19D27 #27B158 #273BB1
square
#B12780 #B19D27 #27B158 #273BB1
split-complementary
#B12780 #3BB127 #27B19D
monochromatic
#4D1137 #7F1C5C #B12780 #D540A0 #E072B9

Accessibility & contrast

On white

6.05
#B12780 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12780
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12780#FFFFFF#000000##FFFFFF
##B127801.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5482
Deuteranopia (green-blind)
#656B7D
Tritanopia (blue-blind)
#BD2251
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b12780;
/* rgb */ color: rgb(177, 39, 128);
/* oklch */ color: oklch(52.4% 0.192 346.4);
Tailwind
colors: {
  custom: {
    50: '#cd70a5',
    500: '#b12780',
    950: '#000000',
  },
}
SCSS
$custom: #b12780;
$custom-light: #cd70a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b12780",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 128
  },
  "hsl": {
    "h": 321.304,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52362,
    "c": 0.19218,
    "h": 346.4
  },
  "luminance": 0.12357
}

Semantic roles & 50–950 ramp

primary
#B12780
secondary
#6DC78D
accent
#E77C41
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B12780

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

Preview Lab → · Contrast checker → · Palette generator →

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