#B12955#B12955

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

Color values

HEX#B12955
RGBrgb(177, 41, 85)
HSLhsl(341, 62%, 43%)
HSVhsv(341, 77%, 69%)
CMYKcmyk(0%, 76.8%, 52%, 30.6%)
CIE-LABlab(40.56, 56.38, 8.05)
CIE-LCHlch(40.56, 56.95, 8.12°)
OKLaboklab(51% 0.172 0.0208)
OKLCHoklch(51% 0.173 6.9)
XYZxyz(20.5660, 11.5917, 9.7470)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12955 #29B185
analogous
#B12999 #B12955 #B14129
triadic
#B12955 #55B129 #2955B1
tetradic
#B12955 #99B129 #29B185 #4129B1
square
#B12955 #99B129 #29B185 #4129B1
split-complementary
#B12955 #29B141 #2999B1
monochromatic
#4E1225 #7F1D3D #B12955 #D44472 #DF7598

Accessibility & contrast

On white

6.33
#B12955 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12955
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12955#FFFFFF#000000##FFFFFF
##B129551.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4E56
Deuteranopia (green-blind)
#6F6952
Tritanopia (blue-blind)
#C1003C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b12955;
/* rgb */ color: rgb(177, 41, 85);
/* oklch */ color: oklch(51.0% 0.173 6.9);
Tailwind
colors: {
  custom: {
    50: '#ce7084',
    500: '#b12955',
    950: '#000000',
  },
}
SCSS
$custom: #b12955;
$custom-light: #ce7084;
$custom-dark: #000000;
JSON
{
  "hex": "#b12955",
  "rgb": {
    "r": 177,
    "g": 41,
    "b": 85
  },
  "hsl": {
    "h": 340.588,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50999,
    "c": 0.17324,
    "h": 6.9
  },
  "luminance": 0.11589
}

Semantic roles & 50–950 ramp

primary
#B12955
secondary
#6FC7AA
accent
#E5B142
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B12955

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

Preview Lab → · Contrast checker → · Palette generator →

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