#B0478E#B0478E

#B0478E is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.0% C 0.159 H 342.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B0478E
RGBrgb(176, 71, 142)
HSLhsl(319, 43%, 48%)
HSVhsv(319, 60%, 69%)
CMYKcmyk(0%, 59.7%, 19.3%, 31%)
CIE-LABlab(46.57, 50.85, -18.23)
CIE-LCHlch(46.57, 54.02, 340.27°)
OKLaboklab(56.02% 0.1515 -0.0487)
OKLCHoklch(56.02% 0.159 342.2)
XYZxyz(25.0408, 15.6918, 27.2959)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0478E #47B069
analogous
#9D47B0 #B0478E #B04759
triadic
#B0478E #8EB047 #478EB0
tetradic
#B0478E #B09D47 #47B069 #4759B0
square
#B0478E #B09D47 #47B069 #4759B0
split-complementary
#B0478E #59B047 #47B09D
monochromatic
#592448 #84356B #B0478E #C56FA9 #D79BC3

Accessibility & contrast

On white

5.07
#B0478E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B0478E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0478E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0478E#FFFFFF#000000##FFFFFF
##B0478E1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6390
Deuteranopia (green-blind)
#6D758B
Tritanopia (blue-blind)
#BA4864
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b0478e;
/* rgb */ color: rgb(176, 71, 142);
/* oklch */ color: oklch(56.0% 0.159 342.2);
Tailwind
colors: {
  custom: {
    50: '#ca80af',
    500: '#b0478e',
    950: '#000000',
  },
}
SCSS
$custom: #b0478e;
$custom-light: #ca80af;
$custom-dark: #000000;
JSON
{
  "hex": "#b0478e",
  "rgb": {
    "r": 176,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 319.429,
    "s": 42.51,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56019,
    "c": 0.15917,
    "h": 342.2
  },
  "luminance": 0.1569
}

Semantic roles & 50–950 ramp

primary
#B0478E
secondary
#90C3A0
accent
#D27E56
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #B0478E

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

Preview Lab → · Contrast checker → · Palette generator →

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