#B04097#B04097

#B04097 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.6% C 0.176 H 337.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B04097
RGBrgb(176, 64, 151)
HSLhsl(313, 47%, 47%)
HSVhsv(313, 64%, 69%)
CMYKcmyk(0%, 63.6%, 14.2%, 31%)
CIE-LABlab(45.82, 55.29, -24.79)
CIE-LCHlch(45.82, 60.59, 335.85°)
OKLaboklab(55.59% 0.1626 -0.0671)
OKLCHoklch(55.59% 0.176 337.6)
XYZxyz(25.3242, 15.1334, 30.8594)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04097 #40B059
analogous
#9140B0 #B04097 #B0405F
triadic
#B04097 #97B040 #4097B0
tetradic
#B04097 #B09140 #40B059 #405FB0
square
#B04097 #B09140 #40B059 #405FB0
split-complementary
#B04097 #5FB040 #40B091
monochromatic
#561F4A #833070 #B04097 #C766B2 #D893C8

Accessibility & contrast

On white

5.22
#B04097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B04097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04097
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04097#FFFFFF#000000##FFFFFF
##B040971.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43619A
Deuteranopia (green-blind)
#667394
Tritanopia (blue-blind)
#B94566
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b04097;
/* rgb */ color: rgb(176, 64, 151);
/* oklch */ color: oklch(55.6% 0.176 337.6);
Tailwind
colors: {
  custom: {
    50: '#cb7cb6',
    500: '#b04097',
    950: '#000000',
  },
}
SCSS
$custom: #b04097;
$custom-light: #cb7cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#b04097",
  "rgb": {
    "r": 176,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 313.393,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55591,
    "c": 0.17588,
    "h": 337.6
  },
  "luminance": 0.15131
}

Semantic roles & 50–950 ramp

primary
#B04097
secondary
#89C396
accent
#D66F51
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #B04097

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

Preview Lab → · Contrast checker → · Palette generator →

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