#B12858#B12858

#B12858 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.175 H 5.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B12858
RGBrgb(177, 40, 88)
HSLhsl(339, 63%, 43%)
HSVhsv(339, 77%, 69%)
CMYKcmyk(0%, 77.4%, 50.3%, 30.6%)
CIE-LABlab(40.53, 56.95, 6.11)
CIE-LCHlch(40.53, 57.27, 6.12°)
OKLaboklab(51% 0.1741 0.0161)
OKLCHoklch(51% 0.175 5.3)
XYZxyz(20.6535, 11.5721, 10.3767)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12858 #28B181
analogous
#B1289D #B12858 #B13C28
triadic
#B12858 #58B128 #2858B1
tetradic
#B12858 #9DB128 #28B181 #3C28B1
square
#B12858 #9DB128 #28B181 #3C28B1
split-complementary
#B12858 #28B13C #289DB1
monochromatic
#4D1126 #7F1D3F #B12858 #D44275 #E0749A

Accessibility & contrast

On white

6.34
#B12858 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12858
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12858#FFFFFF#000000##FFFFFF
##B128581.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4E59
Deuteranopia (green-blind)
#6F6955
Tritanopia (blue-blind)
#C1003D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12858;
/* rgb */ color: rgb(177, 40, 88);
/* oklch */ color: oklch(51.0% 0.175 5.3);
Tailwind
colors: {
  custom: {
    50: '#ce6f86',
    500: '#b12858',
    950: '#000000',
  },
}
SCSS
$custom: #b12858;
$custom-light: #ce6f86;
$custom-dark: #000000;
JSON
{
  "hex": "#b12858",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 88
  },
  "hsl": {
    "h": 338.978,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51002,
    "c": 0.17485,
    "h": 5.3
  },
  "luminance": 0.11569
}

Semantic roles & 50–950 ramp

primary
#B12858
secondary
#6EC7A8
accent
#E6AD42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B12858

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

Preview Lab → · Contrast checker → · Palette generator →

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