#B4175A#B4175A

#B4175A is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.191 H 3.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#B4175A
RGBrgb(180, 23, 90)
HSLhsl(334, 77%, 40%)
HSVhsv(334, 87%, 71%)
CMYKcmyk(0%, 87.2%, 50%, 29.4%)
CIE-LABlab(39.68, 62.17, 3.70)
CIE-LCHlch(39.68, 62.28, 3.41°)
OKLaboklab(50.5% 0.1909 0.0101)
OKLCHoklch(50.5% 0.191 3)
XYZxyz(20.9762, 11.0573, 10.7006)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4175A #17B471
analogous
#B417A9 #B4175A #B42317
triadic
#B4175A #5AB417 #175AB4
tetradic
#B4175A #A9B417 #17B471 #2317B4
square
#B4175A #A9B417 #17B471 #2317B4
split-complementary
#B4175A #17B423 #17A9B4
monochromatic
#470924 #7E103F #B4175A #E32576 #EA5B98

Accessibility & contrast

On white

6.54
#B4175A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#B4175A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4175A
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4175A#FFFFFF#000000##FFFFFF
##B4175A1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A5B
Deuteranopia (green-blind)
#6D6856
Tritanopia (blue-blind)
#C40038
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b4175a;
/* rgb */ color: rgb(180, 23, 90);
/* oklch */ color: oklch(50.5% 0.191 3.0);
Tailwind
colors: {
  custom: {
    50: '#d16a88',
    500: '#b4175a',
    950: '#000000',
  },
}
SCSS
$custom: #b4175a;
$custom-light: #d16a88;
$custom-dark: #000000;
JSON
{
  "hex": "#b4175a",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 334.395,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50501,
    "c": 0.19118,
    "h": 3
  },
  "luminance": 0.11054
}

Semantic roles & 50–950 ramp

primary
#B4175A
secondary
#59CE9C
accent
#F4A234
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C

Preview Lab

Preview with #B4175A

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

Preview Lab → · Contrast checker → · Palette generator →

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