#B13158#B13158

#B13158 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.8% C 0.166 H 6.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B13158
RGBrgb(177, 49, 88)
HSLhsl(342, 57%, 44%)
HSVhsv(342, 72%, 69%)
CMYKcmyk(0%, 72.3%, 50.3%, 30.6%)
CIE-LABlab(41.61, 53.91, 7.65)
CIE-LCHlch(41.61, 54.45, 8.07°)
OKLaboklab(51.8% 0.1644 0.0199)
OKLCHoklch(51.8% 0.166 6.9)
XYZxyz(20.9930, 12.2511, 10.4899)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13158 #31B18A
analogous
#B13198 #B13158 #B14A31
triadic
#B13158 #58B131 #3158B1
tetradic
#B13158 #98B131 #31B18A #4A31B1
square
#B13158 #98B131 #31B18A #4A31B1
split-complementary
#B13158 #31B14A #3198B1
monochromatic
#511628 #812440 #B13158 #CF5177 #DC809C

Accessibility & contrast

On white

6.09
#B13158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B13158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13158
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13158#FFFFFF#000000##FFFFFF
##B131581.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505259
Deuteranopia (green-blind)
#716B55
Tritanopia (blue-blind)
#C11741
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b13158;
/* rgb */ color: rgb(177, 49, 88);
/* oklch */ color: oklch(51.8% 0.166 6.9);
Tailwind
colors: {
  custom: {
    50: '#ce7386',
    500: '#b13158',
    950: '#000000',
  },
}
SCSS
$custom: #b13158;
$custom-light: #ce7386;
$custom-dark: #000000;
JSON
{
  "hex": "#b13158",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 88
  },
  "hsl": {
    "h": 341.719,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51802,
    "c": 0.16555,
    "h": 6.9
  },
  "luminance": 0.12248
}

Semantic roles & 50–950 ramp

primary
#B13158
secondary
#79C5AE
accent
#E0B248
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B13158

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

Preview Lab → · Contrast checker → · Palette generator →

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