#B04F8D#B04F8D

#B04F8D is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.0% C 0.146 H 343.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B04F8D
RGBrgb(176, 79, 141)
HSLhsl(322, 38%, 50%)
HSVhsv(322, 55%, 69%)
CMYKcmyk(0%, 55.1%, 19.9%, 31%)
CIE-LABlab(47.94, 46.91, -15.54)
CIE-LCHlch(47.94, 49.42, 341.68°)
OKLaboklab(57.02% 0.1399 -0.0413)
OKLCHoklch(57.02% 0.146 343.5)
XYZxyz(25.5088, 16.7473, 27.0832)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04F8D #4FB072
analogous
#A24FB0 #B04F8D #B04F5D
triadic
#B04F8D #8DB04F #4F8DB0
tetradic
#B04F8D #B0A24F #4FB072 #4F5DB0
square
#B04F8D #B0A24F #4FB072 #4F5DB0
split-complementary
#B04F8D #5DB04F #4FB0A2
monochromatic
#5C2949 #863C6B #B04F8D #C379A8 #D6A3C4

Accessibility & contrast

On white

4.83
#B04F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#B04F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04F8D
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04F8D#FFFFFF#000000##FFFFFF
##B04F8D1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56688F
Deuteranopia (green-blind)
#71788B
Tritanopia (blue-blind)
#BA4F68
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b04f8d;
/* rgb */ color: rgb(176, 79, 141);
/* oklch */ color: oklch(57.0% 0.146 343.5);
Tailwind
colors: {
  custom: {
    50: '#ca84ae',
    500: '#b04f8d',
    950: '#000000',
  },
}
SCSS
$custom: #b04f8d;
$custom-light: #ca84ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b04f8d",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 321.649,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.57022,
    "c": 0.14587,
    "h": 343.5
  },
  "luminance": 0.16745
}

Semantic roles & 50–950 ramp

primary
#B04F8D
secondary
#98C3A7
accent
#CE845A
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #B04F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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