#B04497#B04497

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

Color values

HEX#B04497
RGBrgb(176, 68, 151)
HSLhsl(314, 44%, 48%)
HSVhsv(314, 61%, 69%)
CMYKcmyk(0%, 61.4%, 14.2%, 31%)
CIE-LABlab(46.45, 53.56, -23.82)
CIE-LCHlch(46.45, 58.62, 336.03°)
OKLaboklab(56.05% 0.1574 -0.0644)
OKLCHoklch(56.05% 0.17 337.8)
XYZxyz(25.5579, 15.6008, 30.9373)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04497 #44B05D
analogous
#9344B0 #B04497 #B04461
triadic
#B04497 #97B044 #4497B0
tetradic
#B04497 #B09344 #44B05D #4461B0
square
#B04497 #B09344 #44B05D #4461B0
split-complementary
#B04497 #61B044 #44B093
monochromatic
#58224B #843371 #B04497 #C66BB1 #D797C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B04497#FFFFFF#000000##FFFFFF
##B044971.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)
#47639A
Deuteranopia (green-blind)
#687494
Tritanopia (blue-blind)
#B94867
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b04497;
/* rgb */ color: rgb(176, 68, 151);
/* oklch */ color: oklch(56.1% 0.170 337.8);
Tailwind
colors: {
  custom: {
    50: '#ca7eb5',
    500: '#b04497',
    950: '#000000',
  },
}
SCSS
$custom: #b04497;
$custom-light: #ca7eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#b04497",
  "rgb": {
    "r": 176,
    "g": 68,
    "b": 151
  },
  "hsl": {
    "h": 313.889,
    "s": 44.262,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56052,
    "c": 0.17009,
    "h": 337.8
  },
  "luminance": 0.15599
}

Semantic roles & 50–950 ramp

primary
#B04497
secondary
#8DC399
accent
#D47154
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A11
muted
#827C80

Preview Lab

Preview with #B04497

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

Preview Lab → · Contrast checker → · Palette generator →

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