#B31845#B31845

#B31845 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.186 H 12.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#B31845
RGBrgb(179, 24, 69)
HSLhsl(343, 76%, 40%)
HSVhsv(343, 87%, 70%)
CMYKcmyk(0%, 86.6%, 61.5%, 29.8%)
CIE-LABlab(39.02, 60.21, 16.15)
CIE-LCHlch(39.02, 62.34, 15.02°)
OKLaboklab(49.81% 0.1817 0.0397)
OKLCHoklch(49.81% 0.186 12.3)
XYZxyz(19.9934, 10.6697, 6.6358)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31845 #18B386
analogous
#B31892 #B31845 #B33918
triadic
#B31845 #45B318 #1845B3
tetradic
#B31845 #92B318 #18B386 #3918B3
square
#B31845 #92B318 #18B386 #3918B3
split-complementary
#B31845 #18B339 #1892B3
monochromatic
#470A1B #7D1130 #B31845 #E2265D #E95C85

Accessibility & contrast

On white

6.70
#B31845 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31845
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31845#FFFFFF#000000##FFFFFF
##B318451.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31845;
/* rgb */ color: rgb(179, 24, 69);
/* oklch */ color: oklch(49.8% 0.186 12.3);
Tailwind
colors: {
  custom: {
    50: '#d16a78',
    500: '#b31845',
    950: '#000000',
  },
}
SCSS
$custom: #b31845;
$custom-light: #d16a78;
$custom-dark: #000000;
JSON
{
  "hex": "#b31845",
  "rgb": {
    "r": 179,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 342.581,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49812,
    "c": 0.18594,
    "h": 12.3
  },
  "luminance": 0.10667
}

Semantic roles & 50–950 ramp

primary
#B31845
secondary
#5ACDAC
accent
#F3BC35
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #B31845

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

Preview Lab → · Contrast checker → · Palette generator →

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