#B31E5F#B31E5F

#B31E5F is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.9% C 0.187 H 1.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#B31E5F
RGBrgb(179, 30, 95)
HSLhsl(334, 71%, 41%)
HSVhsv(334, 83%, 70%)
CMYKcmyk(0%, 83.2%, 46.9%, 29.8%)
CIE-LABlab(40.15, 60.83, 1.18)
CIE-LCHlch(40.15, 60.84, 1.12°)
OKLaboklab(50.86% 0.187 0.0037)
OKLCHoklch(50.86% 0.187 1.1)
XYZxyz(21.1220, 11.3414, 11.9011)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E5F #1EB372
analogous
#B31EA9 #B31E5F #B3281E
triadic
#B31E5F #5FB31E #1E5FB3
tetradic
#B31E5F #A9B31E #1EB372 #281EB3
square
#B31E5F #A9B31E #1EB372 #281EB3
split-complementary
#B31E5F #1EB328 #1EA9B3
monochromatic
#4A0C27 #7F1543 #B31E5F #DD327C #E5669E

Accessibility & contrast

On white

6.43
#B31E5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#B31E5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31E5F
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E5F#FFFFFF#000000##FFFFFF
##B31E5F1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454C60
Deuteranopia (green-blind)
#6C695C
Tritanopia (blue-blind)
#C3003C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b31e5f;
/* rgb */ color: rgb(179, 30, 95);
/* oklch */ color: oklch(50.9% 0.187 1.1);
Tailwind
colors: {
  custom: {
    50: '#d06c8c',
    500: '#b31e5f',
    950: '#000000',
  },
}
SCSS
$custom: #b31e5f;
$custom-light: #d06c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e5f",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 95
  },
  "hsl": {
    "h": 333.826,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50859,
    "c": 0.18706,
    "h": 1.1
  },
  "luminance": 0.11338
}

Semantic roles & 50–950 ramp

primary
#B31E5F
secondary
#62CB9D
accent
#EE9F3A
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B31E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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