#B12880#B12880

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

Color values

HEX#B12880
RGBrgb(177, 40, 128)
HSLhsl(321, 63%, 43%)
HSVhsv(321, 77%, 69%)
CMYKcmyk(0%, 77.4%, 27.7%, 30.6%)
CIE-LABlab(41.88, 61.11, -16.87)
CIE-LCHlch(41.88, 63.40, 344.57°)
OKLaboklab(52.44% 0.1859 -0.0447)
OKLCHoklch(52.44% 0.191 346.5)
XYZxyz(22.7876, 12.4258, 21.6163)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12880 #28B159
analogous
#9E28B1 #B12880 #B1283B
triadic
#B12880 #80B128 #2880B1
tetradic
#B12880 #B19E28 #28B159 #283BB1
square
#B12880 #B19E28 #28B159 #283BB1
split-complementary
#B12880 #3BB128 #28B19E
monochromatic
#4D1138 #7F1D5C #B12880 #D442A0 #E074B9

Accessibility & contrast

On white

6.03
#B12880 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12880
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12880#FFFFFF#000000##FFFFFF
##B128801.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b12880;
/* rgb */ color: rgb(177, 40, 128);
/* oklch */ color: oklch(52.4% 0.191 346.5);
Tailwind
colors: {
  custom: {
    50: '#cd71a5',
    500: '#b12880',
    950: '#000000',
  },
}
SCSS
$custom: #b12880;
$custom-light: #cd71a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b12880",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 128
  },
  "hsl": {
    "h": 321.46,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52438,
    "c": 0.19118,
    "h": 346.5
  },
  "luminance": 0.12423
}

Semantic roles & 50–950 ramp

primary
#B12880
secondary
#6EC78E
accent
#E67C42
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B12880

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

Preview Lab → · Contrast checker → · Palette generator →

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