#B12870#B12870

#B12870 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.8% C 0.183 H 353.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B12870
RGBrgb(177, 40, 112)
HSLhsl(328, 63%, 43%)
HSVhsv(328, 77%, 69%)
CMYKcmyk(0%, 77.4%, 36.7%, 30.6%)
CIE-LABlab(41.28, 59.26, -7.88)
CIE-LCHlch(41.28, 59.78, 352.43°)
OKLaboklab(51.79% 0.182 -0.0201)
OKLCHoklch(51.79% 0.183 353.7)
XYZxyz(21.8163, 12.0372, 16.5007)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12870 #28B169
analogous
#AD28B1 #B12870 #B1282B
triadic
#B12870 #70B128 #2870B1
tetradic
#B12870 #B1AD28 #28B169 #282BB1
square
#B12870 #B1AD28 #28B169 #282BB1
split-complementary
#B12870 #2BB128 #28B1AD
monochromatic
#4D1131 #7F1D50 #B12870 #D4428F #E074AC

Accessibility & contrast

On white

6.16
#B12870 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#B12870 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12870
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12870#FFFFFF#000000##FFFFFF
##B128701.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435172
Deuteranopia (green-blind)
#6A6A6D
Tritanopia (blue-blind)
#BF1849
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b12870;
/* rgb */ color: rgb(177, 40, 112);
/* oklch */ color: oklch(51.8% 0.183 353.7);
Tailwind
colors: {
  custom: {
    50: '#cd7099',
    500: '#b12870',
    950: '#000000',
  },
}
SCSS
$custom: #b12870;
$custom-light: #cd7099;
$custom-dark: #000000;
JSON
{
  "hex": "#b12870",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 328.467,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51794,
    "c": 0.18309,
    "h": 353.7
  },
  "luminance": 0.12035
}

Semantic roles & 50–950 ramp

primary
#B12870
secondary
#6EC798
accent
#E69042
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B12870

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

Preview Lab → · Contrast checker → · Palette generator →

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