#B12958#B12958

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

Color values

HEX#B12958
RGBrgb(177, 41, 88)
HSLhsl(339, 62%, 43%)
HSVhsv(339, 77%, 69%)
CMYKcmyk(0%, 76.8%, 50.3%, 30.6%)
CIE-LABlab(40.64, 56.63, 6.27)
CIE-LCHlch(40.64, 56.98, 6.31°)
OKLaboklab(51.08% 0.1731 0.0165)
OKLCHoklch(51.08% 0.174 5.4)
XYZxyz(20.6877, 11.6404, 10.3881)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12958 #29B182
analogous
#B1299C #B12958 #B13E29
triadic
#B12958 #58B129 #2958B1
tetradic
#B12958 #9CB129 #29B182 #3E29B1
square
#B12958 #9CB129 #29B182 #3E29B1
split-complementary
#B12958 #29B13E #299CB1
monochromatic
#4E1227 #7F1D3F #B12958 #D44475 #DF759A

Accessibility & contrast

On white

6.31
#B12958 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#B12958 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12958
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12958#FFFFFF#000000##FFFFFF
##B129581.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4F59
Deuteranopia (green-blind)
#6F6955
Tritanopia (blue-blind)
#C1023D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b12958;
/* rgb */ color: rgb(177, 41, 88);
/* oklch */ color: oklch(51.1% 0.174 5.4);
Tailwind
colors: {
  custom: {
    50: '#ce7086',
    500: '#b12958',
    950: '#000000',
  },
}
SCSS
$custom: #b12958;
$custom-light: #ce7086;
$custom-dark: #000000;
JSON
{
  "hex": "#b12958",
  "rgb": {
    "r": 177,
    "g": 41,
    "b": 88
  },
  "hsl": {
    "h": 339.265,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51083,
    "c": 0.17388,
    "h": 5.4
  },
  "luminance": 0.11638
}

Semantic roles & 50–950 ramp

primary
#B12958
secondary
#6FC7A8
accent
#E5AD42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B12958

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

Preview Lab → · Contrast checker → · Palette generator →

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