#B31B61#B31B61

#B31B61 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.190 H 359.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B31B61
RGBrgb(179, 27, 97)
HSLhsl(332, 74%, 40%)
HSVhsv(332, 85%, 70%)
CMYKcmyk(0%, 84.9%, 45.8%, 29.8%)
CIE-LABlab(39.97, 61.70, -0.34)
CIE-LCHlch(39.97, 61.70, 359.68°)
OKLaboklab(50.75% 0.1899 -0.0002)
OKLCHoklch(50.75% 0.19 359.9)
XYZxyz(21.1418, 11.2336, 12.3620)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31B61 #1BB36D
analogous
#B31BAD #B31B61 #B3211B
triadic
#B31B61 #61B31B #1B61B3
tetradic
#B31B61 #ADB31B #1BB36D #211BB3
square
#B31B61 #ADB31B #1BB36D #211BB3
split-complementary
#B31B61 #1BB321 #1BADB3
monochromatic
#490B27 #7E1344 #B31B61 #DF2C7F #E7619F

Accessibility & contrast

On white

6.47
#B31B61 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#B31B61 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31B61
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31B61#FFFFFF#000000##FFFFFF
##B31B611.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434C63
Deuteranopia (green-blind)
#6B685E
Tritanopia (blue-blind)
#C3003D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31b61;
/* rgb */ color: rgb(179, 27, 97);
/* oklch */ color: oklch(50.7% 0.190 359.9);
Tailwind
colors: {
  custom: {
    50: '#d06c8d',
    500: '#b31b61',
    950: '#000000',
  },
}
SCSS
$custom: #b31b61;
$custom-light: #d06c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#b31b61",
  "rgb": {
    "r": 179,
    "g": 27,
    "b": 97
  },
  "hsl": {
    "h": 332.368,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50748,
    "c": 0.1899,
    "h": 359.9
  },
  "luminance": 0.11231
}

Semantic roles & 50–950 ramp

primary
#B31B61
secondary
#5ECC99
accent
#F09B37
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B31B61

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

Preview Lab → · Contrast checker → · Palette generator →

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