#B12866#B12866

#B12866 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.179 H 358.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B12866
RGBrgb(177, 40, 102)
HSLhsl(333, 63%, 43%)
HSVhsv(333, 77%, 69%)
CMYKcmyk(0%, 77.4%, 42.4%, 30.6%)
CIE-LABlab(40.94, 58.23, -2.12)
CIE-LCHlch(40.94, 58.27, 357.92°)
OKLaboklab(51.44% 0.179 -0.0048)
OKLCHoklch(51.44% 0.179 358.4)
XYZxyz(21.2901, 11.8268, 13.7295)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12866 #28B173
analogous
#B128AA #B12866 #B12F28
triadic
#B12866 #66B128 #2866B1
tetradic
#B12866 #AAB128 #28B173 #2F28B1
square
#B12866 #AAB128 #28B173 #2F28B1
split-complementary
#B12866 #28B12F #28AAB1
monochromatic
#4D112C #7F1D49 #B12866 #D44284 #E074A5

Accessibility & contrast

On white

6.24
#B12866 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#B12866 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12866
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12866#FFFFFF#000000##FFFFFF
##B128661.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465068
Deuteranopia (green-blind)
#6C6A63
Tritanopia (blue-blind)
#C00F44
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b12866;
/* rgb */ color: rgb(177, 40, 102);
/* oklch */ color: oklch(51.4% 0.179 358.4);
Tailwind
colors: {
  custom: {
    50: '#ce7091',
    500: '#b12866',
    950: '#000000',
  },
}
SCSS
$custom: #b12866;
$custom-light: #ce7091;
$custom-dark: #000000;
JSON
{
  "hex": "#b12866",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 332.847,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51438,
    "c": 0.17903,
    "h": 358.4
  },
  "luminance": 0.11824
}

Semantic roles & 50–950 ramp

primary
#B12866
secondary
#6EC79F
accent
#E69C42
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B12866

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

Preview Lab → · Contrast checker → · Palette generator →

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