#B04787#B04787

#B04787 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 55.7% C 0.155 H 345.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B04787
RGBrgb(176, 71, 135)
HSLhsl(323, 43%, 48%)
HSVhsv(323, 60%, 69%)
CMYKcmyk(0%, 59.7%, 23.3%, 31%)
CIE-LABlab(46.30, 49.83, -14.43)
CIE-LCHlch(46.30, 51.88, 343.85°)
OKLaboklab(55.73% 0.1498 -0.0382)
OKLCHoklch(55.73% 0.155 345.7)
XYZxyz(24.5317, 15.4881, 24.6145)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04787 #47B070
analogous
#A447B0 #B04787 #B04752
triadic
#B04787 #87B047 #4787B0
tetradic
#B04787 #B0A447 #47B070 #4752B0
square
#B04787 #B0A447 #47B070 #4752B0
split-complementary
#B04787 #52B047 #47B0A4
monochromatic
#592444 #843566 #B04787 #C56FA3 #D79BBF

Accessibility & contrast

On white

5.13
#B04787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B04787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04787
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04787#FFFFFF#000000##FFFFFF
##B047871.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516289
Deuteranopia (green-blind)
#6F7484
Tritanopia (blue-blind)
#BB4561
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b04787;
/* rgb */ color: rgb(176, 71, 135);
/* oklch */ color: oklch(55.7% 0.155 345.7);
Tailwind
colors: {
  custom: {
    50: '#cb80aa',
    500: '#b04787',
    950: '#000000',
  },
}
SCSS
$custom: #b04787;
$custom-light: #cb80aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b04787",
  "rgb": {
    "r": 176,
    "g": 71,
    "b": 135
  },
  "hsl": {
    "h": 323.429,
    "s": 42.51,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55729,
    "c": 0.1546,
    "h": 345.7
  },
  "luminance": 0.15486
}

Semantic roles & 50–950 ramp

primary
#B04787
secondary
#90C3A4
accent
#D28656
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #B04787

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

Preview Lab → · Contrast checker → · Palette generator →

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