#B31A46#B31A46

#B31A46 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.185 H 12.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#B31A46
RGBrgb(179, 26, 70)
HSLhsl(343, 75%, 40%)
HSVhsv(343, 85%, 70%)
CMYKcmyk(0%, 85.5%, 60.9%, 29.8%)
CIE-LABlab(39.19, 59.86, 15.74)
CIE-LCHlch(39.19, 61.89, 14.73°)
OKLaboklab(49.94% 0.1807 0.0388)
OKLCHoklch(49.94% 0.185 12.1)
XYZxyz(20.0674, 10.7678, 6.8149)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A46 #1AB387
analogous
#B31A92 #B31A46 #B33A1A
triadic
#B31A46 #46B31A #1A46B3
tetradic
#B31A46 #92B31A #1AB387 #3A1AB3
square
#B31A46 #92B31A #1AB387 #3A1AB3
split-complementary
#B31A46 #1AB33A #1A92B3
monochromatic
#480A1C #7E1231 #B31A46 #E02A5E #E86087

Accessibility & contrast

On white

6.66
#B31A46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#B31A46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31A46
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31A46#FFFFFF#000000##FFFFFF
##B31A461.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494947
Deuteranopia (green-blind)
#706742
Tritanopia (blue-blind)
#C4002F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31a46;
/* rgb */ color: rgb(179, 26, 70);
/* oklch */ color: oklch(49.9% 0.185 12.1);
Tailwind
colors: {
  custom: {
    50: '#d16a79',
    500: '#b31a46',
    950: '#000000',
  },
}
SCSS
$custom: #b31a46;
$custom-light: #d16a79;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a46",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 70
  },
  "hsl": {
    "h": 342.745,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49943,
    "c": 0.18481,
    "h": 12.1
  },
  "luminance": 0.10765
}

Semantic roles & 50–950 ramp

primary
#B31A46
secondary
#5DCCAC
accent
#F1BC37
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #B31A46

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

Preview Lab → · Contrast checker → · Palette generator →

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