#B04170#B04170

#B04170 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.1% C 0.152 H 357.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B04170
RGBrgb(176, 65, 112)
HSLhsl(335, 46%, 47%)
HSVhsv(335, 63%, 69%)
CMYKcmyk(0%, 63.1%, 36.4%, 31%)
CIE-LABlab(44.49, 49.56, -3.11)
CIE-LCHlch(44.49, 49.66, 356.41°)
OKLaboklab(54.13% 0.1514 -0.0075)
OKLCHoklch(54.13% 0.152 357.1)
XYZxyz(22.7207, 14.1831, 16.8672)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04170 #41B081
analogous
#B041A7 #B04170 #B04A41
triadic
#B04170 #70B041 #4170B0
tetradic
#B04170 #A7B041 #41B081 #4A41B0
square
#B04170 #A7B041 #41B081 #4A41B0
split-complementary
#B04170 #41B04A #41A7B0
monochromatic
#572037 #833054 #B04170 #C76790 #D794B1

Accessibility & contrast

On white

5.47
#B04170 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B04170 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04170
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04170#FFFFFF#000000##FFFFFF
##B041701.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545C71
Deuteranopia (green-blind)
#72716D
Tritanopia (blue-blind)
#BE3854
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b04170;
/* rgb */ color: rgb(176, 65, 112);
/* oklch */ color: oklch(54.1% 0.152 357.1);
Tailwind
colors: {
  custom: {
    50: '#cb7c99',
    500: '#b04170',
    950: '#000000',
  },
}
SCSS
$custom: #b04170;
$custom-light: #cb7c99;
$custom-dark: #000000;
JSON
{
  "hex": "#b04170",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 112
  },
  "hsl": {
    "h": 334.595,
    "s": 46.058,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54132,
    "c": 0.15156,
    "h": 357.1
  },
  "luminance": 0.14181
}

Semantic roles & 50–950 ramp

primary
#B04170
secondary
#8AC3AB
accent
#D69E52
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0D
muted
#837C7E

Preview Lab

Preview with #B04170

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

Preview Lab → · Contrast checker → · Palette generator →

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