#B04791#B04791

#B04791 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.1% C 0.161 H 340.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B04791
RGBrgb(176, 71, 145)
HSLhsl(318, 43%, 48%)
HSVhsv(318, 60%, 69%)
CMYKcmyk(0%, 59.7%, 17.6%, 31%)
CIE-LABlab(46.69, 51.30, -19.85)
CIE-LCHlch(46.69, 55.00, 338.85°)
OKLaboklab(56.15% 0.1522 -0.0532)
OKLCHoklch(56.15% 0.161 340.7)
XYZxyz(25.2691, 15.7831, 28.4982)
Luminance0.1578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04791 #47B066
analogous
#9A47B0 #B04791 #B0475C
triadic
#B04791 #91B047 #4791B0
tetradic
#B04791 #B09A47 #47B066 #475CB0
square
#B04791 #B09A47 #47B066 #475CB0
split-complementary
#B04791 #5CB047 #47B09A
monochromatic
#592449 #84356D #B04791 #C56FAC #D79BC5

Accessibility & contrast

On white

5.05
#B04791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B04791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04791
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04791#FFFFFF#000000##FFFFFF
##B047911.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6493
Deuteranopia (green-blind)
#6C758E
Tritanopia (blue-blind)
#BA4966
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b04791;
/* rgb */ color: rgb(176, 71, 145);
/* oklch */ color: oklch(56.1% 0.161 340.7);
Tailwind
colors: {
  custom: {
    50: '#ca80b1',
    500: '#b04791',
    950: '#000000',
  },
}
SCSS
$custom: #b04791;
$custom-light: #ca80b1;
$custom-dark: #000000;
JSON
{
  "hex": "#b04791",
  "rgb": {
    "r": 176,
    "g": 71,
    "b": 145
  },
  "hsl": {
    "h": 317.714,
    "s": 42.51,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56148,
    "c": 0.16126,
    "h": 340.7
  },
  "luminance": 0.15781
}

Semantic roles & 50–950 ramp

primary
#B04791
secondary
#90C39F
accent
#D27A56
background
#FCF8FA
surface
#F9EFF5
border
#D2CACF
text
#140B10
muted
#827C7F

Preview Lab

Preview with #B04791

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

Preview Lab → · Contrast checker → · Palette generator →

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