#B13178#B13178

#B13178 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.177 H 350.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B13178
RGBrgb(177, 49, 120)
HSLhsl(327, 57%, 44%)
HSVhsv(327, 72%, 69%)
CMYKcmyk(0%, 72.3%, 32.2%, 30.6%)
CIE-LABlab(42.62, 57.20, -10.83)
CIE-LCHlch(42.62, 58.22, 349.28°)
OKLaboklab(52.87% 0.1748 -0.0281)
OKLCHoklch(52.87% 0.177 350.9)
XYZxyz(22.6212, 12.9024, 19.0648)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13178 #31B16A
analogous
#AA31B1 #B13178 #B13138
triadic
#B13178 #78B131 #3178B1
tetradic
#B13178 #B1AA31 #31B16A #3138B1
square
#B13178 #B1AA31 #31B16A #3138B1
split-complementary
#B13178 #38B131 #31B1AA
monochromatic
#511637 #812458 #B13178 #CF5197 #DC80B3

Accessibility & contrast

On white

5.87
#B13178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B13178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13178
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13178#FFFFFF#000000##FFFFFF
##B131781.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46567A
Deuteranopia (green-blind)
#6A6D75
Tritanopia (blue-blind)
#BE2950
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b13178;
/* rgb */ color: rgb(177, 49, 120);
/* oklch */ color: oklch(52.9% 0.177 350.9);
Tailwind
colors: {
  custom: {
    50: '#cd749f',
    500: '#b13178',
    950: '#000000',
  },
}
SCSS
$custom: #b13178;
$custom-light: #cd749f;
$custom-dark: #000000;
JSON
{
  "hex": "#b13178",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 326.719,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52869,
    "c": 0.17705,
    "h": 350.9
  },
  "luminance": 0.129
}

Semantic roles & 50–950 ramp

primary
#B13178
secondary
#79C59B
accent
#E08C48
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B13178

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

Preview Lab → · Contrast checker → · Palette generator →

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