#B12857#B12857

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

Color values

HEX#B12857
RGBrgb(177, 40, 87)
HSLhsl(339, 63%, 43%)
HSVhsv(339, 77%, 69%)
CMYKcmyk(0%, 77.4%, 50.8%, 30.6%)
CIE-LABlab(40.50, 56.86, 6.70)
CIE-LCHlch(40.50, 57.25, 6.72°)
OKLaboklab(50.97% 0.1737 0.0175)
OKLCHoklch(50.97% 0.175 5.8)
XYZxyz(20.6124, 11.5557, 10.1601)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12857 #28B182
analogous
#B1289C #B12857 #B13D28
triadic
#B12857 #57B128 #2857B1
tetradic
#B12857 #9CB128 #28B182 #3D28B1
square
#B12857 #9CB128 #28B182 #3D28B1
split-complementary
#B12857 #28B13D #289CB1
monochromatic
#4D1126 #7F1D3E #B12857 #D44274 #E07499

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B12857#FFFFFF#000000##FFFFFF
##B128571.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)
#4B4E58
Deuteranopia (green-blind)
#6F6954
Tritanopia (blue-blind)
#C1003C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12857;
/* rgb */ color: rgb(177, 40, 87);
/* oklch */ color: oklch(51.0% 0.175 5.8);
Tailwind
colors: {
  custom: {
    50: '#ce6f86',
    500: '#b12857',
    950: '#000000',
  },
}
SCSS
$custom: #b12857;
$custom-light: #ce6f86;
$custom-dark: #000000;
JSON
{
  "hex": "#b12857",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 87
  },
  "hsl": {
    "h": 339.416,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50973,
    "c": 0.17462,
    "h": 5.8
  },
  "luminance": 0.11553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B12857

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

Preview Lab → · Contrast checker → · Palette generator →

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