#B31F65#B31F65

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

Color values

HEX#B31F65
RGBrgb(179, 31, 101)
HSLhsl(332, 70%, 41%)
HSVhsv(332, 83%, 70%)
CMYKcmyk(0%, 82.7%, 43.6%, 29.8%)
CIE-LABlab(40.42, 61.13, -2.21)
CIE-LCHlch(40.42, 61.17, 357.93°)
OKLaboklab(51.12% 0.1882 -0.0051)
OKLCHoklch(51.12% 0.188 358.5)
XYZxyz(21.4311, 11.5062, 13.4018)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31F65 #1FB36D
analogous
#B31FAF #B31F65 #B3231F
triadic
#B31F65 #65B31F #1F65B3
tetradic
#B31F65 #AFB31F #1FB36D #231FB3
square
#B31F65 #AFB31F #1FB36D #231FB3
split-complementary
#B31F65 #1FB323 #1FAFB3
monochromatic
#4B0D2A #7F1648 #B31F65 #DC3383 #E568A3

Accessibility & contrast

On white

6.36
#B31F65 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31F65
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31F65#FFFFFF#000000##FFFFFF
##B31F651.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434E67
Deuteranopia (green-blind)
#6B6962
Tritanopia (blue-blind)
#C20040
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b31f65;
/* rgb */ color: rgb(179, 31, 101);
/* oklch */ color: oklch(51.1% 0.188 358.5);
Tailwind
colors: {
  custom: {
    50: '#cf6d90',
    500: '#b31f65',
    950: '#000000',
  },
}
SCSS
$custom: #b31f65;
$custom-light: #cf6d90;
$custom-dark: #000000;
JSON
{
  "hex": "#b31f65",
  "rgb": {
    "r": 179,
    "g": 31,
    "b": 101
  },
  "hsl": {
    "h": 331.622,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51117,
    "c": 0.18827,
    "h": 358.5
  },
  "luminance": 0.11503
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B31F65

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

Preview Lab → · Contrast checker → · Palette generator →

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