#B04172#B04172

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

Color values

HEX#B04172
RGBrgb(176, 65, 114)
HSLhsl(334, 46%, 47%)
HSVhsv(334, 63%, 69%)
CMYKcmyk(0%, 63.1%, 35.2%, 31%)
CIE-LABlab(44.56, 49.80, -4.25)
CIE-LCHlch(44.56, 49.98, 355.13°)
OKLaboklab(54.2% 0.152 -0.0105)
OKLCHoklch(54.2% 0.152 356)
XYZxyz(22.8333, 14.2281, 17.4602)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04172 #41B07F
analogous
#B041A9 #B04172 #B04841
triadic
#B04172 #72B041 #4172B0
tetradic
#B04172 #A9B041 #41B07F #4841B0
square
#B04172 #A9B041 #41B07F #4841B0
split-complementary
#B04172 #41B048 #41A9B0
monochromatic
#572038 #833055 #B04172 #C76791 #D794B2

Accessibility & contrast

On white

5.46
#B04172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B04172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04172
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04172#FFFFFF#000000##FFFFFF
##B041721.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535C73
Deuteranopia (green-blind)
#71716F
Tritanopia (blue-blind)
#BD3854
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b04172;
/* rgb */ color: rgb(176, 65, 114);
/* oklch */ color: oklch(54.2% 0.152 356.0);
Tailwind
colors: {
  custom: {
    50: '#cb7c9a',
    500: '#b04172',
    950: '#000000',
  },
}
SCSS
$custom: #b04172;
$custom-light: #cb7c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#b04172",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 114
  },
  "hsl": {
    "h": 333.514,
    "s": 46.058,
    "l": 47.255
  },
  "oklch": {
    "l": 0.542,
    "c": 0.15239,
    "h": 356
  },
  "luminance": 0.14226
}

Semantic roles & 50–950 ramp

primary
#B04172
secondary
#8AC3AA
accent
#D69C52
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B04172

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

Preview Lab → · Contrast checker → · Palette generator →

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