#B04C97#B04C97

#B04C97 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.0% C 0.158 H 338.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B04C97
RGBrgb(176, 76, 151)
HSLhsl(315, 40%, 49%)
HSVhsv(315, 57%, 69%)
CMYKcmyk(0%, 56.8%, 14.2%, 31%)
CIE-LABlab(47.80, 49.90, -21.73)
CIE-LCHlch(47.80, 54.43, 336.47°)
OKLaboklab(57.05% 0.1466 -0.0586)
OKLCHoklch(57.05% 0.158 338.2)
XYZxyz(26.0752, 16.6354, 31.1098)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04C97 #4CB065
analogous
#974CB0 #B04C97 #B04C65
triadic
#B04C97 #97B04C #4C97B0
tetradic
#B04C97 #B0974C #4CB065 #4C65B0
square
#B04C97 #B0974C #4CB065 #4C65B0
split-complementary
#B04C97 #65B04C #4CB097
monochromatic
#5B274E #853A72 #B04C97 #C476B0 #D6A0C9

Accessibility & contrast

On white

4.85
#B04C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#B04C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04C97
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04C97#FFFFFF#000000##FFFFFF
##B04C971.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6899
Deuteranopia (green-blind)
#6C7794
Tritanopia (blue-blind)
#B94F6B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b04c97;
/* rgb */ color: rgb(176, 76, 151);
/* oklch */ color: oklch(57.0% 0.158 338.2);
Tailwind
colors: {
  custom: {
    50: '#ca83b5',
    500: '#b04c97',
    950: '#000000',
  },
}
SCSS
$custom: #b04c97;
$custom-light: #ca83b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b04c97",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 315,
    "s": 39.683,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57047,
    "c": 0.15785,
    "h": 338.2
  },
  "luminance": 0.16633
}

Semantic roles & 50–950 ramp

primary
#B04C97
secondary
#95C3A0
accent
#D07658
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #B04C97

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

Preview Lab → · Contrast checker → · Palette generator →

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