#B04F96#B04F96

#B04F96 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.4% C 0.152 H 338.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B04F96
RGBrgb(176, 79, 150)
HSLhsl(316, 38%, 50%)
HSVhsv(316, 55%, 69%)
CMYKcmyk(0%, 55.1%, 14.8%, 31%)
CIE-LABlab(48.29, 48.30, -20.37)
CIE-LCHlch(48.29, 52.43, 337.13°)
OKLaboklab(57.4% 0.1421 -0.0548)
OKLCHoklch(57.4% 0.152 338.9)
XYZxyz(26.2059, 17.0261, 30.7544)
Luminance0.1702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04F96 #4FB069
analogous
#994FB0 #B04F96 #B04F66
triadic
#B04F96 #96B04F #4F96B0
tetradic
#B04F96 #B0994F #4FB069 #4F66B0
square
#B04F96 #B0994F #4FB069 #4F66B0
split-complementary
#B04F96 #66B04F #4FB099
monochromatic
#5C294E #863C72 #B04F96 #C379AF #D6A3C8

Accessibility & contrast

On white

4.77
#B04F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#B04F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04F96
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04F96#FFFFFF#000000##FFFFFF
##B04F961.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536998
Deuteranopia (green-blind)
#6E7893
Tritanopia (blue-blind)
#B9526C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b04f96;
/* rgb */ color: rgb(176, 79, 150);
/* oklch */ color: oklch(57.4% 0.152 338.9);
Tailwind
colors: {
  custom: {
    50: '#ca85b5',
    500: '#b04f96',
    950: '#000000',
  },
}
SCSS
$custom: #b04f96;
$custom-light: #ca85b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b04f96",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 150
  },
  "hsl": {
    "h": 316.082,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.574,
    "c": 0.1523,
    "h": 338.9
  },
  "luminance": 0.17024
}

Semantic roles & 50–950 ramp

primary
#B04F96
secondary
#98C3A3
accent
#CE795A
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #B04F96

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

Preview Lab → · Contrast checker → · Palette generator →

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