#B05178#B05178

#B05178 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 56.5% C 0.131 H 356.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B05178
RGBrgb(176, 81, 120)
HSLhsl(335, 38%, 50%)
HSVhsv(335, 54%, 69%)
CMYKcmyk(0%, 54%, 31.8%, 31%)
CIE-LABlab(47.59, 42.98, -3.42)
CIE-LCHlch(47.59, 43.12, 355.45°)
OKLaboklab(56.52% 0.1305 -0.0084)
OKLCHoklch(56.52% 0.131 356.3)
XYZxyz(24.2382, 16.4733, 19.6688)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B05178 #51B089
analogous
#B051A7 #B05178 #B05951
triadic
#B05178 #78B051 #5178B0
tetradic
#B05178 #A7B051 #51B089 #5951B0
square
#B05178 #A7B051 #51B089 #5951B0
split-complementary
#B05178 #51B059 #51A7B0
monochromatic
#5D2A3F #873D5B #B05178 #C37B99 #D6A5B9

Accessibility & contrast

On white

4.89
#B05178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#B05178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B05178
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B05178#FFFFFF#000000##FFFFFF
##B051781.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6679
Deuteranopia (green-blind)
#787776
Tritanopia (blue-blind)
#BC4B60
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b05178;
/* rgb */ color: rgb(176, 81, 120);
/* oklch */ color: oklch(56.5% 0.131 356.3);
Tailwind
colors: {
  custom: {
    50: '#ca859e',
    500: '#b05178',
    950: '#000000',
  },
}
SCSS
$custom: #b05178;
$custom-light: #ca859e;
$custom-dark: #000000;
JSON
{
  "hex": "#b05178",
  "rgb": {
    "r": 176,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 335.368,
    "s": 37.549,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56522,
    "c": 0.13081,
    "h": 356.3
  },
  "luminance": 0.16471
}

Semantic roles & 50–950 ramp

primary
#B05178
secondary
#99C4B2
accent
#CE9E5A
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #B05178

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

Preview Lab → · Contrast checker → · Palette generator →

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