#B31A45#B31A45

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

Color values

HEX#B31A45
RGBrgb(179, 26, 69)
HSLhsl(343, 75%, 40%)
HSVhsv(343, 85%, 70%)
CMYKcmyk(0%, 85.5%, 61.5%, 29.8%)
CIE-LABlab(39.17, 59.79, 16.35)
CIE-LCHlch(39.17, 61.99, 15.29°)
OKLaboklab(49.92% 0.1803 0.0401)
OKLCHoklch(49.92% 0.185 12.5)
XYZxyz(20.0361, 10.7553, 6.6500)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A45 #1AB388
analogous
#B31A92 #B31A45 #B33B1A
triadic
#B31A45 #45B31A #1A45B3
tetradic
#B31A45 #92B31A #1AB388 #3B1AB3
square
#B31A45 #92B31A #1AB388 #3B1AB3
split-complementary
#B31A45 #1AB33B #1A92B3
monochromatic
#480A1C #7E1230 #B31A45 #E02A5D #E86086

Accessibility & contrast

On white

6.67
#B31A45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31A45
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31A45#FFFFFF#000000##FFFFFF
##B31A451.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494845
Deuteranopia (green-blind)
#706741
Tritanopia (blue-blind)
#C4002E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31a45;
/* rgb */ color: rgb(179, 26, 69);
/* oklch */ color: oklch(49.9% 0.185 12.5);
Tailwind
colors: {
  custom: {
    50: '#d16a78',
    500: '#b31a45',
    950: '#000000',
  },
}
SCSS
$custom: #b31a45;
$custom-light: #d16a78;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a45",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 69
  },
  "hsl": {
    "h": 343.137,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4992,
    "c": 0.18471,
    "h": 12.5
  },
  "luminance": 0.10752
}

Semantic roles & 50–950 ramp

primary
#B31A45
secondary
#5DCCAD
accent
#F1BD37
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #B31A45

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

Preview Lab → · Contrast checker → · Palette generator →

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