#B04897#B04897

#B04897 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.5% C 0.164 H 338.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B04897
RGBrgb(176, 72, 151)
HSLhsl(314, 42%, 49%)
HSVhsv(314, 59%, 69%)
CMYKcmyk(0%, 59.1%, 14.2%, 31%)
CIE-LABlab(47.11, 51.76, -22.80)
CIE-LCHlch(47.11, 56.56, 336.23°)
OKLaboklab(56.54% 0.1521 -0.0615)
OKLCHoklch(56.54% 0.164 338)
XYZxyz(25.8081, 16.1013, 31.0208)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04897 #48B061
analogous
#9548B0 #B04897 #B04863
triadic
#B04897 #97B048 #4897B0
tetradic
#B04897 #B09548 #48B061 #4863B0
square
#B04897 #B09548 #48B061 #4863B0
split-complementary
#B04897 #63B048 #48B095
monochromatic
#59244C #853672 #B04897 #C570B0 #D69CC8

Accessibility & contrast

On white

4.98
#B04897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B04897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04897
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04897#FFFFFF#000000##FFFFFF
##B048971.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6599
Deuteranopia (green-blind)
#6A7694
Tritanopia (blue-blind)
#B94C69
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b04897;
/* rgb */ color: rgb(176, 72, 151);
/* oklch */ color: oklch(56.5% 0.164 338.0);
Tailwind
colors: {
  custom: {
    50: '#ca81b5',
    500: '#b04897',
    950: '#000000',
  },
}
SCSS
$custom: #b04897;
$custom-light: #ca81b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b04897",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 314.423,
    "s": 41.935,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56538,
    "c": 0.16407,
    "h": 338
  },
  "luminance": 0.16099
}

Semantic roles & 50–950 ramp

primary
#B04897
secondary
#91C39D
accent
#D27456
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #B04897

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

Preview Lab → · Contrast checker → · Palette generator →

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