#B3174A#B3174A

#B3174A is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.187 H 10.0°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#B3174A
RGBrgb(179, 23, 74)
HSLhsl(340, 77%, 40%)
HSVhsv(340, 87%, 70%)
CMYKcmyk(0%, 87.2%, 58.7%, 29.8%)
CIE-LABlab(39.06, 60.73, 13.02)
CIE-LCHlch(39.06, 62.11, 12.10°)
OKLaboklab(49.88% 0.1843 0.0325)
OKLCHoklch(49.88% 0.187 10)
XYZxyz(20.1349, 10.6940, 7.4812)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3174A #17B380
analogous
#B31798 #B3174A #B33217
triadic
#B3174A #4AB317 #174AB3
tetradic
#B3174A #98B317 #17B380 #3217B3
square
#B3174A #98B317 #17B380 #3217B3
split-complementary
#B3174A #17B332 #1798B3
monochromatic
#47091D #7D1034 #B3174A #E32463 #EA5B89

Accessibility & contrast

On white

6.69
#B3174A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#B3174A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3174A
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3174A#FFFFFF#000000##FFFFFF
##B3174A1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47484B
Deuteranopia (green-blind)
#6E6746
Tritanopia (blue-blind)
#C4002F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b3174a;
/* rgb */ color: rgb(179, 23, 74);
/* oklch */ color: oklch(49.9% 0.187 10.0);
Tailwind
colors: {
  custom: {
    50: '#d16a7c',
    500: '#b3174a',
    950: '#000000',
  },
}
SCSS
$custom: #b3174a;
$custom-light: #d16a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b3174a",
  "rgb": {
    "r": 179,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 340.385,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49879,
    "c": 0.18712,
    "h": 10
  },
  "luminance": 0.10691
}

Semantic roles & 50–950 ramp

primary
#B3174A
secondary
#58CDA7
accent
#F4B534
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#150809
muted
#837A7B

Preview Lab

Preview with #B3174A

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

Preview Lab → · Contrast checker → · Palette generator →

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