#B04E97#B04E97

#B04E97 is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.3% C 0.155 H 338.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B04E97
RGBrgb(176, 78, 151)
HSLhsl(315, 39%, 50%)
HSVhsv(315, 56%, 69%)
CMYKcmyk(0%, 55.7%, 14.2%, 31%)
CIE-LABlab(48.15, 48.95, -21.18)
CIE-LCHlch(48.15, 53.33, 336.60°)
OKLaboklab(57.31% 0.1438 -0.0571)
OKLCHoklch(57.31% 0.155 338.3)
XYZxyz(26.2151, 16.9153, 31.1564)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04E97 #4EB067
analogous
#984EB0 #B04E97 #B04E66
triadic
#B04E97 #97B04E #4E97B0
tetradic
#B04E97 #B0984E #4EB067 #4E66B0
square
#B04E97 #B0984E #4EB067 #4E66B0
split-complementary
#B04E97 #66B04E #4EB098
monochromatic
#5B284E #863B73 #B04E97 #C378B0 #D6A2C9

Accessibility & contrast

On white

4.79
#B04E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#B04E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04E97
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04E97#FFFFFF#000000##FFFFFF
##B04E971.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516999
Deuteranopia (green-blind)
#6E7894
Tritanopia (blue-blind)
#B9516C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b04e97;
/* rgb */ color: rgb(176, 78, 151);
/* oklch */ color: oklch(57.3% 0.155 338.3);
Tailwind
colors: {
  custom: {
    50: '#ca84b5',
    500: '#b04e97',
    950: '#000000',
  },
}
SCSS
$custom: #b04e97;
$custom-light: #ca84b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b04e97",
  "rgb": {
    "r": 176,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 315.306,
    "s": 38.583,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5731,
    "c": 0.15466,
    "h": 338.3
  },
  "luminance": 0.16913
}

Semantic roles & 50–950 ramp

primary
#B04E97
secondary
#97C3A2
accent
#CF7759
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #B04E97

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

Preview Lab → · Contrast checker → · Palette generator →

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