#B31746#B31746

#B31746 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.8% C 0.187 H 11.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#B31746
RGBrgb(179, 23, 70)
HSLhsl(342, 77%, 40%)
HSVhsv(342, 87%, 70%)
CMYKcmyk(0%, 87.2%, 60.9%, 29.8%)
CIE-LABlab(38.97, 60.48, 15.45)
CIE-LCHlch(38.97, 62.42, 14.33°)
OKLaboklab(49.78% 0.1827 0.0381)
OKLCHoklch(49.78% 0.187 11.8)
XYZxyz(20.0044, 10.6418, 6.7939)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31746 #17B384
analogous
#B31794 #B31746 #B33617
triadic
#B31746 #46B317 #1746B3
tetradic
#B31746 #94B317 #17B384 #3617B3
square
#B31746 #94B317 #17B384 #3617B3
split-complementary
#B31746 #17B336 #1794B3
monochromatic
#47091C #7D1031 #B31746 #E3245E #EA5B86

Accessibility & contrast

On white

6.71
#B31746 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#B31746 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31746
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31746#FFFFFF#000000##FFFFFF
##B317461.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484847
Deuteranopia (green-blind)
#6F6742
Tritanopia (blue-blind)
#C4002D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31746;
/* rgb */ color: rgb(179, 23, 70);
/* oklch */ color: oklch(49.8% 0.187 11.8);
Tailwind
colors: {
  custom: {
    50: '#d16a79',
    500: '#b31746',
    950: '#000000',
  },
}
SCSS
$custom: #b31746;
$custom-light: #d16a79;
$custom-dark: #000000;
JSON
{
  "hex": "#b31746",
  "rgb": {
    "r": 179,
    "g": 23,
    "b": 70
  },
  "hsl": {
    "h": 341.923,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49784,
    "c": 0.18662,
    "h": 11.8
  },
  "luminance": 0.10639
}

Semantic roles & 50–950 ramp

primary
#B31746
secondary
#58CDAA
accent
#F4BA34
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150709
muted
#837A7B

Preview Lab

Preview with #B31746

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

Preview Lab → · Contrast checker → · Palette generator →

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