#B04798#B04798

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

Color values

HEX#B04798
RGBrgb(176, 71, 152)
HSLhsl(314, 43%, 48%)
HSVhsv(314, 60%, 69%)
CMYKcmyk(0%, 59.7%, 13.6%, 31%)
CIE-LABlab(46.98, 52.37, -23.59)
CIE-LCHlch(46.98, 57.44, 335.76°)
OKLaboklab(56.46% 0.1536 -0.0638)
OKLCHoklch(56.46% 0.166 337.5)
XYZxyz(25.8256, 16.0057, 31.4289)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04798 #47B05F
analogous
#9347B0 #B04798 #B04763
triadic
#B04798 #98B047 #4798B0
tetradic
#B04798 #B09347 #47B05F #4763B0
square
#B04798 #B09347 #47B05F #4763B0
split-complementary
#B04798 #63B047 #47B093
monochromatic
#59244D #843572 #B04798 #C56FB1 #D79BC9

Accessibility & contrast

On white

5.00
#B04798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B04798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04798
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04798#FFFFFF#000000##FFFFFF
##B047981.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A659B
Deuteranopia (green-blind)
#697595
Tritanopia (blue-blind)
#B94B69
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b04798;
/* rgb */ color: rgb(176, 71, 152);
/* oklch */ color: oklch(56.5% 0.166 337.5);
Tailwind
colors: {
  custom: {
    50: '#ca80b6',
    500: '#b04798',
    950: '#000000',
  },
}
SCSS
$custom: #b04798;
$custom-light: #ca80b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b04798",
  "rgb": {
    "r": 176,
    "g": 71,
    "b": 152
  },
  "hsl": {
    "h": 313.714,
    "s": 42.51,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5646,
    "c": 0.16635,
    "h": 337.5
  },
  "luminance": 0.16004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B04798

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

Preview Lab → · Contrast checker → · Palette generator →

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