#B12856#B12856

#B12856 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.174 H 6.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#B12856
RGBrgb(177, 40, 86)
HSLhsl(340, 63%, 43%)
HSVhsv(340, 77%, 69%)
CMYKcmyk(0%, 77.4%, 51.4%, 30.6%)
CIE-LABlab(40.47, 56.78, 7.30)
CIE-LCHlch(40.47, 57.24, 7.32°)
OKLaboklab(50.94% 0.1734 0.019)
OKLCHoklch(50.94% 0.174 6.3)
XYZxyz(20.5718, 11.5395, 9.9464)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12856 #28B183
analogous
#B1289B #B12856 #B13E28
triadic
#B12856 #56B128 #2856B1
tetradic
#B12856 #9BB128 #28B183 #3E28B1
square
#B12856 #9BB128 #28B183 #3E28B1
split-complementary
#B12856 #28B13E #289BB1
monochromatic
#4D1125 #7F1D3E #B12856 #D44273 #E07498

Accessibility & contrast

On white

6.35
#B12856 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#B12856 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12856
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12856#FFFFFF#000000##FFFFFF
##B128561.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4E57
Deuteranopia (green-blind)
#6F6953
Tritanopia (blue-blind)
#C1003C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12856;
/* rgb */ color: rgb(177, 40, 86);
/* oklch */ color: oklch(50.9% 0.174 6.3);
Tailwind
colors: {
  custom: {
    50: '#ce6f85',
    500: '#b12856',
    950: '#000000',
  },
}
SCSS
$custom: #b12856;
$custom-light: #ce6f85;
$custom-dark: #000000;
JSON
{
  "hex": "#b12856",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 86
  },
  "hsl": {
    "h": 339.854,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50945,
    "c": 0.17441,
    "h": 6.3
  },
  "luminance": 0.11537
}

Semantic roles & 50–950 ramp

primary
#B12856
secondary
#6EC7A9
accent
#E6AF42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B12856

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

Preview Lab → · Contrast checker → · Palette generator →

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