#B31F61#B31F61

#B31F61 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.187 H 0.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B31F61
RGBrgb(179, 31, 97)
HSLhsl(333, 70%, 41%)
HSVhsv(333, 83%, 70%)
CMYKcmyk(0%, 82.7%, 45.8%, 29.8%)
CIE-LABlab(40.30, 60.77, 0.13)
CIE-LCHlch(40.30, 60.77, 0.12°)
OKLaboklab(50.99% 0.1869 0.001)
OKLCHoklch(50.99% 0.187 0.3)
XYZxyz(21.2398, 11.4297, 12.3946)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31F61 #1FB371
analogous
#B31FAB #B31F61 #B3271F
triadic
#B31F61 #61B31F #1F61B3
tetradic
#B31F61 #ABB31F #1FB371 #271FB3
square
#B31F61 #ABB31F #1FB371 #271FB3
split-complementary
#B31F61 #1FB327 #1FABB3
monochromatic
#4B0D28 #7F1645 #B31F61 #DC337F #E5689F

Accessibility & contrast

On white

6.39
#B31F61 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#B31F61 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31F61
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31F61#FFFFFF#000000##FFFFFF
##B31F611.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444D62
Deuteranopia (green-blind)
#6C695E
Tritanopia (blue-blind)
#C3003E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b31f61;
/* rgb */ color: rgb(179, 31, 97);
/* oklch */ color: oklch(51.0% 0.187 0.3);
Tailwind
colors: {
  custom: {
    50: '#d06d8d',
    500: '#b31f61',
    950: '#000000',
  },
}
SCSS
$custom: #b31f61;
$custom-light: #d06d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#b31f61",
  "rgb": {
    "r": 179,
    "g": 31,
    "b": 97
  },
  "hsl": {
    "h": 333.243,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50985,
    "c": 0.18691,
    "h": 0.3
  },
  "luminance": 0.11427
}

Semantic roles & 50–950 ramp

primary
#B31F61
secondary
#64CA9C
accent
#ED9E3B
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B31F61

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

Preview Lab → · Contrast checker → · Palette generator →

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