#B04A7D#B04A7D

#B04A7D is a mid, vivid pink. Relative luminance 0.156; OKLCH L 55.7% C 0.144 H 351.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B04A7D
RGBrgb(176, 74, 125)
HSLhsl(330, 41%, 49%)
HSVhsv(330, 58%, 69%)
CMYKcmyk(0%, 58%, 29%, 31%)
CIE-LABlab(46.46, 47.05, -8.13)
CIE-LCHlch(46.46, 47.75, 350.20°)
OKLaboklab(55.73% 0.1427 -0.021)
OKLCHoklch(55.73% 0.144 351.6)
XYZxyz(24.0559, 15.6107, 21.1443)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04A7D #4AB07D
analogous
#B04AB0 #B04A7D #B04A4A
triadic
#B04A7D #7DB04A #4A7DB0
tetradic
#B04A7D #B0B04A #4AB07D #4A4AB0
square
#B04A7D #B0B04A #4AB07D #4A4AB0
split-complementary
#B04A7D #4AB04A #4AB0B0
monochromatic
#5A2640 #85385E #B04A7D #C4739C #D69EBA

Accessibility & contrast

On white

5.10
#B04A7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B04A7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04A7D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04A7D#FFFFFF#000000##FFFFFF
##B04A7D1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57637F
Deuteranopia (green-blind)
#73757B
Tritanopia (blue-blind)
#BC455E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b04a7d;
/* rgb */ color: rgb(176, 74, 125);
/* oklch */ color: oklch(55.7% 0.144 351.6);
Tailwind
colors: {
  custom: {
    50: '#cb81a2',
    500: '#b04a7d',
    950: '#000000',
  },
}
SCSS
$custom: #b04a7d;
$custom-light: #cb81a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b04a7d",
  "rgb": {
    "r": 176,
    "g": 74,
    "b": 125
  },
  "hsl": {
    "h": 330,
    "s": 40.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55732,
    "c": 0.14421,
    "h": 351.6
  },
  "luminance": 0.15608
}

Semantic roles & 50–950 ramp

primary
#B04A7D
secondary
#93C3AB
accent
#D19457
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0F
muted
#827C7E

Preview Lab

Preview with #B04A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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