#B04796#B04796

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

Color values

HEX#B04796
RGBrgb(176, 71, 150)
HSLhsl(315, 43%, 48%)
HSVhsv(315, 60%, 69%)
CMYKcmyk(0%, 59.7%, 14.8%, 31%)
CIE-LABlab(46.90, 52.06, -22.52)
CIE-LCHlch(46.90, 56.72, 336.60°)
OKLaboklab(56.37% 0.1533 -0.0608)
OKLCHoklch(56.37% 0.165 338.4)
XYZxyz(25.6631, 15.9407, 30.5735)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04796 #47B061
analogous
#9547B0 #B04796 #B04761
triadic
#B04796 #96B047 #4796B0
tetradic
#B04796 #B09547 #47B061 #4761B0
square
#B04796 #B09547 #47B061 #4761B0
split-complementary
#B04796 #61B047 #47B095
monochromatic
#59244C #843571 #B04796 #C56FB0 #D79BC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B04796#FFFFFF#000000##FFFFFF
##B047961.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)
#4B6598
Deuteranopia (green-blind)
#6A7593
Tritanopia (blue-blind)
#B94B68
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b04796;
/* rgb */ color: rgb(176, 71, 150);
/* oklch */ color: oklch(56.4% 0.165 338.4);
Tailwind
colors: {
  custom: {
    50: '#ca80b5',
    500: '#b04796',
    950: '#000000',
  },
}
SCSS
$custom: #b04796;
$custom-light: #ca80b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b04796",
  "rgb": {
    "r": 176,
    "g": 71,
    "b": 150
  },
  "hsl": {
    "h": 314.857,
    "s": 42.51,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56369,
    "c": 0.16486,
    "h": 338.4
  },
  "luminance": 0.15939
}

Semantic roles & 50–950 ramp

primary
#B04796
secondary
#90C39D
accent
#D27456
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #B04796

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

Preview Lab → · Contrast checker → · Palette generator →

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