#B4175F#B4175F

#B4175F is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.7% C 0.193 H 0.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B4175F
RGBrgb(180, 23, 95)
HSLhsl(332, 77%, 40%)
HSVhsv(332, 87%, 71%)
CMYKcmyk(0%, 87.2%, 47.2%, 29.4%)
CIE-LABlab(39.82, 62.59, 0.74)
CIE-LCHlch(39.82, 62.59, 0.67°)
OKLaboklab(50.66% 0.1926 0.0026)
OKLCHoklch(50.66% 0.193 0.8)
XYZxyz(21.1962, 11.1453, 11.8594)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4175F #17B46C
analogous
#B417AE #B4175F #B41D17
triadic
#B4175F #5FB417 #175FB4
tetradic
#B4175F #AEB417 #17B46C #1D17B4
square
#B4175F #AEB417 #17B46C #1D17B4
split-complementary
#B4175F #17B41D #17AEB4
monochromatic
#470926 #7E1042 #B4175F #E3257C #EA5B9D

Accessibility & contrast

On white

6.50
#B4175F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#B4175F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4175F
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4175F#FFFFFF#000000##FFFFFF
##B4175F1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424B60
Deuteranopia (green-blind)
#6C685C
Tritanopia (blue-blind)
#C4003A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b4175f;
/* rgb */ color: rgb(180, 23, 95);
/* oklch */ color: oklch(50.7% 0.193 0.8);
Tailwind
colors: {
  custom: {
    50: '#d16b8c',
    500: '#b4175f',
    950: '#000000',
  },
}
SCSS
$custom: #b4175f;
$custom-light: #d16b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4175f",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 332.484,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50656,
    "c": 0.19265,
    "h": 0.8
  },
  "luminance": 0.11142
}

Semantic roles & 50–950 ramp

primary
#B4175F
secondary
#59CE98
accent
#F49C34
background
#FDF6F8
surface
#FBECF0
border
#D4C7CB
text
#15080C
muted
#837A7D

Preview Lab

Preview with #B4175F

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

Preview Lab → · Contrast checker → · Palette generator →

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