#B04297#B04297

#B04297 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.8% C 0.173 H 337.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B04297
RGBrgb(176, 66, 151)
HSLhsl(314, 45%, 47%)
HSVhsv(314, 63%, 69%)
CMYKcmyk(0%, 62.5%, 14.2%, 31%)
CIE-LABlab(46.13, 54.43, -24.31)
CIE-LCHlch(46.13, 59.62, 335.93°)
OKLaboklab(55.82% 0.16 -0.0658)
OKLCHoklch(55.82% 0.173 337.7)
XYZxyz(25.4390, 15.3630, 30.8977)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04297 #42B05B
analogous
#9242B0 #B04297 #B04260
triadic
#B04297 #97B042 #4297B0
tetradic
#B04297 #B09242 #42B05B #4260B0
square
#B04297 #B09242 #42B05B #4260B0
split-complementary
#B04297 #60B042 #42B092
monochromatic
#57214B #833171 #B04297 #C769B1 #D795C8

Accessibility & contrast

On white

5.16
#B04297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B04297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04297
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04297#FFFFFF#000000##FFFFFF
##B042971.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45629A
Deuteranopia (green-blind)
#677394
Tritanopia (blue-blind)
#B94766
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b04297;
/* rgb */ color: rgb(176, 66, 151);
/* oklch */ color: oklch(55.8% 0.173 337.7);
Tailwind
colors: {
  custom: {
    50: '#cb7db6',
    500: '#b04297',
    950: '#000000',
  },
}
SCSS
$custom: #b04297;
$custom-light: #cb7db6;
$custom-dark: #000000;
JSON
{
  "hex": "#b04297",
  "rgb": {
    "r": 176,
    "g": 66,
    "b": 151
  },
  "hsl": {
    "h": 313.636,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55819,
    "c": 0.17302,
    "h": 337.7
  },
  "luminance": 0.15361
}

Semantic roles & 50–950 ramp

primary
#B04297
secondary
#8BC398
accent
#D57053
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #B04297

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

Preview Lab → · Contrast checker → · Palette generator →

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