#B31F64#B31F64

#B31F64 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.1% C 0.188 H 358.9°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#B31F64
RGBrgb(179, 31, 100)
HSLhsl(332, 70%, 41%)
HSVhsv(332, 83%, 70%)
CMYKcmyk(0%, 82.7%, 44.1%, 29.8%)
CIE-LABlab(40.39, 61.04, -1.63)
CIE-LCHlch(40.39, 61.06, 358.47°)
OKLaboklab(51.08% 0.1879 -0.0035)
OKLCHoklch(51.08% 0.188 358.9)
XYZxyz(21.3824, 11.4867, 13.1453)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31F64 #1FB36E
analogous
#B31FAE #B31F64 #B3241F
triadic
#B31F64 #64B31F #1F64B3
tetradic
#B31F64 #AEB31F #1FB36E #241FB3
square
#B31F64 #AEB31F #1FB36E #241FB3
split-complementary
#B31F64 #1FB324 #1FAEB3
monochromatic
#4B0D2A #7F1647 #B31F64 #DC3382 #E568A2

Accessibility & contrast

On white

6.37
#B31F64 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#B31F64 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31F64
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31F64#FFFFFF#000000##FFFFFF
##B31F641.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434D66
Deuteranopia (green-blind)
#6B6961
Tritanopia (blue-blind)
#C2003F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b31f64;
/* rgb */ color: rgb(179, 31, 100);
/* oklch */ color: oklch(51.1% 0.188 358.9);
Tailwind
colors: {
  custom: {
    50: '#d06d90',
    500: '#b31f64',
    950: '#000000',
  },
}
SCSS
$custom: #b31f64;
$custom-light: #d06d90;
$custom-dark: #000000;
JSON
{
  "hex": "#b31f64",
  "rgb": {
    "r": 179,
    "g": 31,
    "b": 100
  },
  "hsl": {
    "h": 332.027,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51084,
    "c": 0.18792,
    "h": 358.9
  },
  "luminance": 0.11484
}

Semantic roles & 50–950 ramp

primary
#B31F64
secondary
#64CA9A
accent
#ED9A3B
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B31F64

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

Preview Lab → · Contrast checker → · Palette generator →

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