#B12957#B12957

#B12957 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.174 H 5.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#B12957
RGBrgb(177, 41, 87)
HSLhsl(340, 62%, 43%)
HSVhsv(340, 77%, 69%)
CMYKcmyk(0%, 76.8%, 50.8%, 30.6%)
CIE-LABlab(40.61, 56.55, 6.86)
CIE-LCHlch(40.61, 56.96, 6.92°)
OKLaboklab(51.05% 0.1727 0.0179)
OKLCHoklch(51.05% 0.174 5.9)
XYZxyz(20.6465, 11.6240, 10.1714)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12957 #29B183
analogous
#B1299B #B12957 #B13F29
triadic
#B12957 #57B129 #2957B1
tetradic
#B12957 #9BB129 #29B183 #3F29B1
square
#B12957 #9BB129 #29B183 #3F29B1
split-complementary
#B12957 #29B13F #299BB1
monochromatic
#4E1226 #7F1D3F #B12957 #D44474 #DF7599

Accessibility & contrast

On white

6.32
#B12957 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#B12957 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12957
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12957#FFFFFF#000000##FFFFFF
##B129571.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4F58
Deuteranopia (green-blind)
#6F6954
Tritanopia (blue-blind)
#C1013D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b12957;
/* rgb */ color: rgb(177, 41, 87);
/* oklch */ color: oklch(51.1% 0.174 5.9);
Tailwind
colors: {
  custom: {
    50: '#ce7086',
    500: '#b12957',
    950: '#000000',
  },
}
SCSS
$custom: #b12957;
$custom-light: #ce7086;
$custom-dark: #000000;
JSON
{
  "hex": "#b12957",
  "rgb": {
    "r": 177,
    "g": 41,
    "b": 87
  },
  "hsl": {
    "h": 339.706,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51055,
    "c": 0.17366,
    "h": 5.9
  },
  "luminance": 0.11621
}

Semantic roles & 50–950 ramp

primary
#B12957
secondary
#6FC7A9
accent
#E5AE42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B12957

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

Preview Lab → · Contrast checker → · Palette generator →

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