#B04797#B04797

#B04797 is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.4% C 0.166 H 337.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B04797
RGBrgb(176, 71, 151)
HSLhsl(314, 43%, 48%)
HSVhsv(314, 60%, 69%)
CMYKcmyk(0%, 59.7%, 14.2%, 31%)
CIE-LABlab(46.94, 52.22, -23.06)
CIE-LCHlch(46.94, 57.08, 336.18°)
OKLaboklab(56.41% 0.1534 -0.0623)
OKLCHoklch(56.41% 0.166 337.9)
XYZxyz(25.7440, 15.9730, 30.9994)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04797 #47B060
analogous
#9447B0 #B04797 #B04762
triadic
#B04797 #97B047 #4797B0
tetradic
#B04797 #B09447 #47B060 #4762B0
square
#B04797 #B09447 #47B060 #4762B0
split-complementary
#B04797 #62B047 #47B094
monochromatic
#59244C #843572 #B04797 #C56FB1 #D79BC8

Accessibility & contrast

On white

5.01
#B04797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B04797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04797
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04797#FFFFFF#000000##FFFFFF
##B047971.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A659A
Deuteranopia (green-blind)
#6A7594
Tritanopia (blue-blind)
#B94B68
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b04797;
/* rgb */ color: rgb(176, 71, 151);
/* oklch */ color: oklch(56.4% 0.166 337.9);
Tailwind
colors: {
  custom: {
    50: '#ca80b5',
    500: '#b04797',
    950: '#000000',
  },
}
SCSS
$custom: #b04797;
$custom-light: #ca80b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b04797",
  "rgb": {
    "r": 176,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 314.286,
    "s": 42.51,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56414,
    "c": 0.16559,
    "h": 337.9
  },
  "luminance": 0.15971
}

Semantic roles & 50–950 ramp

primary
#B04797
secondary
#90C39C
accent
#D27356
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #B04797

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

Preview Lab → · Contrast checker → · Palette generator →

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