#B04F99#B04F99

#B04F99 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.5% C 0.155 H 337.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B04F99
RGBrgb(176, 79, 153)
HSLhsl(314, 38%, 50%)
HSVhsv(314, 55%, 69%)
CMYKcmyk(0%, 55.1%, 13.1%, 31%)
CIE-LABlab(48.42, 48.78, -21.97)
CIE-LCHlch(48.42, 53.50, 335.76°)
OKLaboklab(57.53% 0.1428 -0.0593)
OKLCHoklch(57.53% 0.155 337.4)
XYZxyz(26.4505, 17.1240, 32.0430)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04F99 #4FB066
analogous
#974FB0 #B04F99 #B04F68
triadic
#B04F99 #99B04F #4F99B0
tetradic
#B04F99 #B0974F #4FB066 #4F68B0
square
#B04F99 #B0974F #4FB066 #4F68B0
split-complementary
#B04F99 #68B04F #4FB097
monochromatic
#5C2950 #863C74 #B04F99 #C379B1 #D6A3CA

Accessibility & contrast

On white

4.75
#B04F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#B04F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04F99
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04F99#FFFFFF#000000##FFFFFF
##B04F991.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516A9B
Deuteranopia (green-blind)
#6D7896
Tritanopia (blue-blind)
#B8536D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b04f99;
/* rgb */ color: rgb(176, 79, 153);
/* oklch */ color: oklch(57.5% 0.155 337.4);
Tailwind
colors: {
  custom: {
    50: '#ca85b7',
    500: '#b04f99',
    950: '#000000',
  },
}
SCSS
$custom: #b04f99;
$custom-light: #ca85b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b04f99",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 314.227,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.57531,
    "c": 0.15458,
    "h": 337.4
  },
  "luminance": 0.17122
}

Semantic roles & 50–950 ramp

primary
#B04F99
secondary
#98C3A2
accent
#CE755A
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #B04F99

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

Preview Lab → · Contrast checker → · Palette generator →

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