#B04174#B04174

#B04174 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.3% C 0.153 H 354.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B04174
RGBrgb(176, 65, 116)
HSLhsl(332, 46%, 47%)
HSVhsv(332, 63%, 69%)
CMYKcmyk(0%, 63.1%, 34.1%, 31%)
CIE-LABlab(44.62, 50.04, -5.38)
CIE-LCHlch(44.62, 50.32, 353.87°)
OKLaboklab(54.27% 0.1527 -0.0135)
OKLCHoklch(54.27% 0.153 354.9)
XYZxyz(22.9484, 14.2741, 18.0663)
Luminance0.1427 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04174 #41B07D
analogous
#B041AC #B04174 #B04541
triadic
#B04174 #74B041 #4174B0
tetradic
#B04174 #ACB041 #41B07D #4541B0
square
#B04174 #ACB041 #41B07D #4541B0
split-complementary
#B04174 #41B045 #41ACB0
monochromatic
#572039 #833057 #B04174 #C76793 #D794B3

Accessibility & contrast

On white

5.45
#B04174 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B04174
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04174#FFFFFF#000000##FFFFFF
##B041741.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535D75
Deuteranopia (green-blind)
#717171
Tritanopia (blue-blind)
#BD3955
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b04174;
/* rgb */ color: rgb(176, 65, 116);
/* oklch */ color: oklch(54.3% 0.153 354.9);
Tailwind
colors: {
  custom: {
    50: '#cb7c9c',
    500: '#b04174',
    950: '#000000',
  },
}
SCSS
$custom: #b04174;
$custom-light: #cb7c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#b04174",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 116
  },
  "hsl": {
    "h": 332.432,
    "s": 46.058,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5427,
    "c": 0.15326,
    "h": 354.9
  },
  "luminance": 0.14272
}

Semantic roles & 50–950 ramp

primary
#B04174
secondary
#8AC3A9
accent
#D69952
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B04174

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

Preview Lab → · Contrast checker → · Palette generator →

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