#B04793#B04793

#B04793 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.2% C 0.163 H 339.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B04793
RGBrgb(176, 71, 147)
HSLhsl(317, 43%, 48%)
HSVhsv(317, 60%, 69%)
CMYKcmyk(0%, 59.7%, 16.5%, 31%)
CIE-LABlab(46.77, 51.60, -20.92)
CIE-LCHlch(46.77, 55.68, 337.93°)
OKLaboklab(56.24% 0.1526 -0.0563)
OKLCHoklch(56.24% 0.163 339.8)
XYZxyz(25.4247, 15.8453, 29.3175)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04793 #47B064
analogous
#9847B0 #B04793 #B0475F
triadic
#B04793 #93B047 #4793B0
tetradic
#B04793 #B09847 #47B064 #475FB0
square
#B04793 #B09847 #47B064 #475FB0
split-complementary
#B04793 #5FB047 #47B098
monochromatic
#59244A #84356F #B04793 #C56FAD #D79BC6

Accessibility & contrast

On white

5.04
#B04793 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B04793 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04793
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04793#FFFFFF#000000##FFFFFF
##B047931.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6495
Deuteranopia (green-blind)
#6B7590
Tritanopia (blue-blind)
#BA4A67
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b04793;
/* rgb */ color: rgb(176, 71, 147);
/* oklch */ color: oklch(56.2% 0.163 339.8);
Tailwind
colors: {
  custom: {
    50: '#ca80b3',
    500: '#b04793',
    950: '#000000',
  },
}
SCSS
$custom: #b04793;
$custom-light: #ca80b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b04793",
  "rgb": {
    "r": 176,
    "g": 71,
    "b": 147
  },
  "hsl": {
    "h": 316.571,
    "s": 42.51,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56235,
    "c": 0.16268,
    "h": 339.8
  },
  "luminance": 0.15843
}

Semantic roles & 50–950 ramp

primary
#B04793
secondary
#90C39E
accent
#D27856
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #B04793

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

Preview Lab → · Contrast checker → · Palette generator →

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