#B12855#B12855

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

Color values

HEX#B12855
RGBrgb(177, 40, 85)
HSLhsl(340, 63%, 43%)
HSVhsv(340, 77%, 69%)
CMYKcmyk(0%, 77.4%, 52%, 30.6%)
CIE-LABlab(40.45, 56.70, 7.89)
CIE-LCHlch(40.45, 57.24, 7.92°)
OKLaboklab(50.92% 0.173 0.0205)
OKLCHoklch(50.92% 0.174 6.7)
XYZxyz(20.5318, 11.5234, 9.7357)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12855 #28B184
analogous
#B1289A #B12855 #B13F28
triadic
#B12855 #55B128 #2855B1
tetradic
#B12855 #9AB128 #28B184 #3F28B1
square
#B12855 #9AB128 #28B184 #3F28B1
split-complementary
#B12855 #28B13F #289AB1
monochromatic
#4D1125 #7F1D3D #B12855 #D44272 #E07497

Accessibility & contrast

On white

6.36
#B12855 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#B12855 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12855
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12855#FFFFFF#000000##FFFFFF
##B128551.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4E56
Deuteranopia (green-blind)
#6F6952
Tritanopia (blue-blind)
#C1003B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12855;
/* rgb */ color: rgb(177, 40, 85);
/* oklch */ color: oklch(50.9% 0.174 6.7);
Tailwind
colors: {
  custom: {
    50: '#ce6f84',
    500: '#b12855',
    950: '#000000',
  },
}
SCSS
$custom: #b12855;
$custom-light: #ce6f84;
$custom-dark: #000000;
JSON
{
  "hex": "#b12855",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 85
  },
  "hsl": {
    "h": 340.292,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50917,
    "c": 0.17419,
    "h": 6.7
  },
  "luminance": 0.11521
}

Semantic roles & 50–950 ramp

primary
#B12855
secondary
#6EC7AA
accent
#E6B042
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B12855

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

Preview Lab → · Contrast checker → · Palette generator →

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