#B04F8A#B04F8A

#B04F8A is a mid, vivid pink. Relative luminance 0.167; OKLCH L 56.9% C 0.144 H 345.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B04F8A
RGBrgb(176, 79, 138)
HSLhsl(324, 38%, 50%)
HSVhsv(324, 55%, 69%)
CMYKcmyk(0%, 55.1%, 21.6%, 31%)
CIE-LABlab(47.83, 46.47, -13.91)
CIE-LCHlch(47.83, 48.51, 343.33°)
OKLaboklab(56.9% 0.1391 -0.0368)
OKLCHoklch(56.9% 0.144 345.2)
XYZxyz(25.2886, 16.6592, 25.9235)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04F8A #4FB075
analogous
#A54FB0 #B04F8A #B04F5A
triadic
#B04F8A #8AB04F #4F8AB0
tetradic
#B04F8A #B0A54F #4FB075 #4F5AB0
square
#B04F8A #B0A54F #4FB075 #4F5AB0
split-complementary
#B04F8A #5AB04F #4FB0A5
monochromatic
#5C2948 #863C69 #B04F8A #C379A6 #D6A3C2

Accessibility & contrast

On white

4.85
#B04F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#B04F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04F8A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04F8A#FFFFFF#000000##FFFFFF
##B04F8A1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57678C
Deuteranopia (green-blind)
#727888
Tritanopia (blue-blind)
#BA4E66
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b04f8a;
/* rgb */ color: rgb(176, 79, 138);
/* oklch */ color: oklch(56.9% 0.144 345.2);
Tailwind
colors: {
  custom: {
    50: '#ca84ac',
    500: '#b04f8a',
    950: '#000000',
  },
}
SCSS
$custom: #b04f8a;
$custom-light: #ca84ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b04f8a",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 323.505,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.56902,
    "c": 0.14389,
    "h": 345.2
  },
  "luminance": 0.16657
}

Semantic roles & 50–950 ramp

primary
#B04F8A
secondary
#98C3A9
accent
#CE875A
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #B04F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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