#B04E7E#B04E7E

#B04E7E is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.3% C 0.138 H 351.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B04E7E
RGBrgb(176, 78, 126)
HSLhsl(331, 39%, 50%)
HSVhsv(331, 56%, 69%)
CMYKcmyk(0%, 55.7%, 28.4%, 31%)
CIE-LABlab(47.22, 45.26, -7.60)
CIE-LCHlch(47.22, 45.89, 350.47°)
OKLaboklab(56.31% 0.1371 -0.0196)
OKLCHoklch(56.31% 0.138 351.9)
XYZxyz(24.3957, 16.1875, 21.5743)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04E7E #4EB080
analogous
#B04EAF #B04E7E #B04F4E
triadic
#B04E7E #7EB04E #4E7EB0
tetradic
#B04E7E #AFB04E #4EB080 #4F4EB0
square
#B04E7E #AFB04E #4EB080 #4F4EB0
split-complementary
#B04E7E #4EB04F #4EAFB0
monochromatic
#5B2841 #863B60 #B04E7E #C3789D #D6A2BC

Accessibility & contrast

On white

4.96
#B04E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#B04E7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04E7E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04E7E#FFFFFF#000000##FFFFFF
##B04E7E1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6580
Deuteranopia (green-blind)
#75767C
Tritanopia (blue-blind)
#BC4A60
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b04e7e;
/* rgb */ color: rgb(176, 78, 126);
/* oklch */ color: oklch(56.3% 0.138 351.9);
Tailwind
colors: {
  custom: {
    50: '#ca84a3',
    500: '#b04e7e',
    950: '#000000',
  },
}
SCSS
$custom: #b04e7e;
$custom-light: #ca84a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b04e7e",
  "rgb": {
    "r": 176,
    "g": 78,
    "b": 126
  },
  "hsl": {
    "h": 330.612,
    "s": 38.583,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5631,
    "c": 0.13845,
    "h": 351.9
  },
  "luminance": 0.16185
}

Semantic roles & 50–950 ramp

primary
#B04E7E
secondary
#97C3AD
accent
#CF9559
background
#FCF8FA
surface
#F9EFF3
border
#D2CACD
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #B04E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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