#B04799#B04799

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

Color values

HEX#B04799
RGBrgb(176, 71, 153)
HSLhsl(313, 43%, 48%)
HSVhsv(313, 60%, 69%)
CMYKcmyk(0%, 59.7%, 13.1%, 31%)
CIE-LABlab(47.03, 52.53, -24.12)
CIE-LCHlch(47.03, 57.80, 335.34°)
OKLaboklab(56.51% 0.1538 -0.0653)
OKLCHoklch(56.51% 0.167 337)
XYZxyz(25.9078, 16.0386, 31.8620)
Luminance0.1604 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04799 #47B05E
analogous
#9247B0 #B04799 #B04764
triadic
#B04799 #99B047 #4799B0
tetradic
#B04799 #B09247 #47B05E #4764B0
square
#B04799 #B09247 #47B05E #4764B0
split-complementary
#B04799 #64B047 #47B092
monochromatic
#59244D #843573 #B04799 #C56FB2 #D79BC9

Accessibility & contrast

On white

4.99
#B04799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#B04799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04799
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04799#FFFFFF#000000##FFFFFF
##B047991.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49659C
Deuteranopia (green-blind)
#697596
Tritanopia (blue-blind)
#B94C69
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b04799;
/* rgb */ color: rgb(176, 71, 153);
/* oklch */ color: oklch(56.5% 0.167 337.0);
Tailwind
colors: {
  custom: {
    50: '#ca80b7',
    500: '#b04799',
    950: '#000000',
  },
}
SCSS
$custom: #b04799;
$custom-light: #ca80b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b04799",
  "rgb": {
    "r": 176,
    "g": 71,
    "b": 153
  },
  "hsl": {
    "h": 313.143,
    "s": 42.51,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56506,
    "c": 0.1671,
    "h": 337
  },
  "luminance": 0.16036
}

Semantic roles & 50–950 ramp

primary
#B04799
secondary
#90C39B
accent
#D27156
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #B04799

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

Preview Lab → · Contrast checker → · Palette generator →

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