#B04795#B04795

#B04795 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.3% C 0.164 H 338.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B04795
RGBrgb(176, 71, 149)
HSLhsl(315, 43%, 48%)
HSVhsv(315, 60%, 69%)
CMYKcmyk(0%, 59.7%, 15.3%, 31%)
CIE-LABlab(46.85, 51.91, -21.99)
CIE-LCHlch(46.85, 56.37, 337.04°)
OKLaboklab(56.32% 0.1531 -0.0593)
OKLCHoklch(56.32% 0.164 338.8)
XYZxyz(25.5830, 15.9086, 30.1512)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04795 #47B062
analogous
#9647B0 #B04795 #B04760
triadic
#B04795 #95B047 #4795B0
tetradic
#B04795 #B09647 #47B062 #4760B0
square
#B04795 #B09647 #47B062 #4760B0
split-complementary
#B04795 #60B047 #47B096
monochromatic
#59244B #843570 #B04795 #C56FAF #D79BC7

Accessibility & contrast

On white

5.02
#B04795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B04795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04795
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04795#FFFFFF#000000##FFFFFF
##B047951.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6597
Deuteranopia (green-blind)
#6A7592
Tritanopia (blue-blind)
#B94A67
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b04795;
/* rgb */ color: rgb(176, 71, 149);
/* oklch */ color: oklch(56.3% 0.164 338.8);
Tailwind
colors: {
  custom: {
    50: '#ca80b4',
    500: '#b04795',
    950: '#000000',
  },
}
SCSS
$custom: #b04795;
$custom-light: #ca80b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b04795",
  "rgb": {
    "r": 176,
    "g": 71,
    "b": 149
  },
  "hsl": {
    "h": 315.429,
    "s": 42.51,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56324,
    "c": 0.16413,
    "h": 338.8
  },
  "luminance": 0.15907
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B04795

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

Preview Lab → · Contrast checker → · Palette generator →

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