#B31945#B31945

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

Color values

HEX#B31945
RGBrgb(179, 25, 69)
HSLhsl(343, 75%, 40%)
HSVhsv(343, 86%, 70%)
CMYKcmyk(0%, 86%, 61.5%, 29.8%)
CIE-LABlab(39.09, 60.01, 16.25)
CIE-LCHlch(39.09, 62.17, 15.15°)
OKLaboklab(49.86% 0.181 0.0399)
OKLCHoklch(49.86% 0.185 12.4)
XYZxyz(20.0144, 10.7117, 6.6428)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31945 #19B387
analogous
#B31992 #B31945 #B33A19
triadic
#B31945 #45B319 #1945B3
tetradic
#B31945 #92B319 #19B387 #3A19B3
square
#B31945 #92B319 #19B387 #3A19B3
split-complementary
#B31945 #19B33A #1992B3
monochromatic
#480A1C #7D1230 #B31945 #E1285D #E85E86

Accessibility & contrast

On white

6.68
#B31945 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31945
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31945#FFFFFF#000000##FFFFFF
##B319451.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494846
Deuteranopia (green-blind)
#6F6741
Tritanopia (blue-blind)
#C4002E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31945;
/* rgb */ color: rgb(179, 25, 69);
/* oklch */ color: oklch(49.9% 0.185 12.4);
Tailwind
colors: {
  custom: {
    50: '#d16a78',
    500: '#b31945',
    950: '#000000',
  },
}
SCSS
$custom: #b31945;
$custom-light: #d16a78;
$custom-dark: #000000;
JSON
{
  "hex": "#b31945",
  "rgb": {
    "r": 179,
    "g": 25,
    "b": 69
  },
  "hsl": {
    "h": 342.857,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.49865,
    "c": 0.18533,
    "h": 12.4
  },
  "luminance": 0.10709
}

Semantic roles & 50–950 ramp

primary
#B31945
secondary
#5BCCAC
accent
#F2BC36
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #B31945

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

Preview Lab → · Contrast checker → · Palette generator →

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