#B04F87#B04F87

#B04F87 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 56.8% C 0.142 H 346.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B04F87
RGBrgb(176, 79, 135)
HSLhsl(325, 38%, 50%)
HSVhsv(325, 55%, 69%)
CMYKcmyk(0%, 55.1%, 23.3%, 31%)
CIE-LABlab(47.72, 46.03, -12.27)
CIE-LCHlch(47.72, 47.64, 345.07°)
OKLaboklab(56.78% 0.1383 -0.0323)
OKLCHoklch(56.78% 0.142 346.8)
XYZxyz(25.0744, 16.5735, 24.7954)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04F87 #4FB078
analogous
#A94FB0 #B04F87 #B04F56
triadic
#B04F87 #87B04F #4F87B0
tetradic
#B04F87 #B0A94F #4FB078 #4F56B0
square
#B04F87 #B0A94F #4FB078 #4F56B0
split-complementary
#B04F87 #56B04F #4FB0A9
monochromatic
#5C2946 #863C67 #B04F87 #C379A4 #D6A3C1

Accessibility & contrast

On white

4.87
#B04F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#B04F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04F87
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04F87#FFFFFF#000000##FFFFFF
##B04F871.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596789
Deuteranopia (green-blind)
#737785
Tritanopia (blue-blind)
#BB4D65
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b04f87;
/* rgb */ color: rgb(176, 79, 135);
/* oklch */ color: oklch(56.8% 0.142 346.8);
Tailwind
colors: {
  custom: {
    50: '#ca84aa',
    500: '#b04f87',
    950: '#000000',
  },
}
SCSS
$custom: #b04f87;
$custom-light: #ca84aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b04f87",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 325.361,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.56784,
    "c": 0.14199,
    "h": 346.8
  },
  "luminance": 0.16571
}

Semantic roles & 50–950 ramp

primary
#B04F87
secondary
#98C3AA
accent
#CE8B5A
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #B04F87

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

Preview Lab → · Contrast checker → · Palette generator →

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