#B31955#B31955

#B31955 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.3% C 0.188 H 5.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#B31955
RGBrgb(179, 25, 85)
HSLhsl(337, 75%, 40%)
HSVhsv(337, 86%, 70%)
CMYKcmyk(0%, 86%, 52.5%, 29.8%)
CIE-LABlab(39.48, 61.12, 6.57)
CIE-LCHlch(39.48, 61.47, 6.14°)
OKLaboklab(50.27% 0.1871 0.0172)
OKLCHoklch(50.27% 0.188 5.2)
XYZxyz(20.5797, 10.9379, 9.6201)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31955 #19B377
analogous
#B319A2 #B31955 #B32A19
triadic
#B31955 #55B319 #1955B3
tetradic
#B31955 #A2B319 #19B377 #2A19B3
square
#B31955 #A2B319 #19B377 #2A19B3
split-complementary
#B31955 #19B32A #19A2B3
monochromatic
#480A22 #7D123C #B31955 #E12870 #E85E94

Accessibility & contrast

On white

6.59
#B31955 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#B31955 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31955
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31955#FFFFFF#000000##FFFFFF
##B319551.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454A56
Deuteranopia (green-blind)
#6D6851
Tritanopia (blue-blind)
#C40036
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31955;
/* rgb */ color: rgb(179, 25, 85);
/* oklch */ color: oklch(50.3% 0.188 5.2);
Tailwind
colors: {
  custom: {
    50: '#d06b84',
    500: '#b31955',
    950: '#000000',
  },
}
SCSS
$custom: #b31955;
$custom-light: #d06b84;
$custom-dark: #000000;
JSON
{
  "hex": "#b31955",
  "rgb": {
    "r": 179,
    "g": 25,
    "b": 85
  },
  "hsl": {
    "h": 336.623,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.50273,
    "c": 0.1879,
    "h": 5.2
  },
  "luminance": 0.10935
}

Semantic roles & 50–950 ramp

primary
#B31955
secondary
#5BCCA0
accent
#F2A936
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080A
muted
#837A7C

Preview Lab

Preview with #B31955

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

Preview Lab → · Contrast checker → · Palette generator →

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