#B31B45#B31B45

#B31B45 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.184 H 12.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#B31B45
RGBrgb(179, 27, 69)
HSLhsl(343, 74%, 40%)
HSVhsv(343, 85%, 70%)
CMYKcmyk(0%, 84.9%, 61.5%, 29.8%)
CIE-LABlab(39.24, 59.57, 16.45)
CIE-LCHlch(39.24, 61.80, 15.44°)
OKLaboklab(49.98% 0.1796 0.0404)
OKLCHoklch(49.98% 0.184 12.7)
XYZxyz(20.0587, 10.8003, 6.6576)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31B45 #1BB389
analogous
#B31B91 #B31B45 #B33D1B
triadic
#B31B45 #45B31B #1B45B3
tetradic
#B31B45 #91B31B #1BB389 #3D1BB3
square
#B31B45 #91B31B #1BB389 #3D1BB3
split-complementary
#B31B45 #1BB33D #1B91B3
monochromatic
#490B1C #7E1331 #B31B45 #DF2C5E #E76186

Accessibility & contrast

On white

6.65
#B31B45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#B31B45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31B45
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31B45#FFFFFF#000000##FFFFFF
##B31B451.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31b45;
/* rgb */ color: rgb(179, 27, 69);
/* oklch */ color: oklch(50.0% 0.184 12.7);
Tailwind
colors: {
  custom: {
    50: '#d16b78',
    500: '#b31b45',
    950: '#000000',
  },
}
SCSS
$custom: #b31b45;
$custom-light: #d16b78;
$custom-dark: #000000;
JSON
{
  "hex": "#b31b45",
  "rgb": {
    "r": 179,
    "g": 27,
    "b": 69
  },
  "hsl": {
    "h": 343.421,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49977,
    "c": 0.18407,
    "h": 12.7
  },
  "luminance": 0.10797
}

Semantic roles & 50–950 ramp

primary
#B31B45
secondary
#5ECCAD
accent
#F0BD37
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #B31B45

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

Preview Lab → · Contrast checker → · Palette generator →

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