#B8477E#B8477E

#B8477E is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.6% C 0.157 H 353.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B8477E
RGBrgb(184, 71, 126)
HSLhsl(331, 44%, 50%)
HSVhsv(331, 61%, 72%)
CMYKcmyk(0%, 61.4%, 31.5%, 27.8%)
CIE-LABlab(47.24, 51.09, -7.43)
CIE-LCHlch(47.24, 51.62, 351.72°)
OKLaboklab(56.57% 0.1555 -0.019)
OKLCHoklch(56.57% 0.157 353)
XYZxyz(25.7875, 16.2059, 21.5046)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8477E #47B881
analogous
#B847B7 #B8477E #B84847
triadic
#B8477E #7EB847 #477EB8
tetradic
#B8477E #B7B847 #47B881 #4847B8
square
#B8477E #B7B847 #47B881 #4847B8
split-complementary
#B8477E #47B848 #47B7B8
monochromatic
#602542 #8C3660 #B8477E #C9739D #DA9FBC

Accessibility & contrast

On white

4.95
#B8477E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#B8477E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8477E
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8477E#FFFFFF#000000##FFFFFF
##B8477E1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586380
Deuteranopia (green-blind)
#76787B
Tritanopia (blue-blind)
#C5405D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b8477e;
/* rgb */ color: rgb(184, 71, 126);
/* oklch */ color: oklch(56.6% 0.157 353.0);
Tailwind
colors: {
  custom: {
    50: '#d180a3',
    500: '#b8477e',
    950: '#000000',
  },
}
SCSS
$custom: #b8477e;
$custom-light: #d180a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b8477e",
  "rgb": {
    "r": 184,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 330.796,
    "s": 44.314,
    "l": 50
  },
  "oklch": {
    "l": 0.56574,
    "c": 0.15666,
    "h": 353
  },
  "luminance": 0.16203
}

Semantic roles & 50–950 ramp

primary
#B8477E
secondary
#94C7AE
accent
#D49654
background
#FDF8FA
surface
#FAEFF3
border
#D3CACD
text
#140B0F
muted
#837C7F

Preview Lab

Preview with #B8477E

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

Preview Lab → · Contrast checker → · Palette generator →

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