#B31F63#B31F63

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

Color values

HEX#B31F63
RGBrgb(179, 31, 99)
HSLhsl(332, 70%, 41%)
HSVhsv(332, 83%, 70%)
CMYKcmyk(0%, 82.7%, 44.7%, 29.8%)
CIE-LABlab(40.36, 60.95, -1.04)
CIE-LCHlch(40.36, 60.96, 359.02°)
OKLaboklab(51.05% 0.1876 -0.002)
OKLCHoklch(51.05% 0.188 359.4)
XYZxyz(21.3343, 11.4674, 12.8920)
Luminance0.1147 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31F63 #1FB36F
analogous
#B31FAD #B31F63 #B3251F
triadic
#B31F63 #63B31F #1F63B3
tetradic
#B31F63 #ADB31F #1FB36F #251FB3
square
#B31F63 #ADB31F #1FB36F #251FB3
split-complementary
#B31F63 #1FB325 #1FADB3
monochromatic
#4B0D29 #7F1646 #B31F63 #DC3381 #E568A1

Accessibility & contrast

On white

6.38
#B31F63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31F63
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31F63#FFFFFF#000000##FFFFFF
##B31F631.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444D65
Deuteranopia (green-blind)
#6C6960
Tritanopia (blue-blind)
#C3003F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b31f63;
/* rgb */ color: rgb(179, 31, 99);
/* oklch */ color: oklch(51.0% 0.188 359.4);
Tailwind
colors: {
  custom: {
    50: '#d06d8f',
    500: '#b31f63',
    950: '#000000',
  },
}
SCSS
$custom: #b31f63;
$custom-light: #d06d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#b31f63",
  "rgb": {
    "r": 179,
    "g": 31,
    "b": 99
  },
  "hsl": {
    "h": 332.432,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5105,
    "c": 0.18757,
    "h": 359.4
  },
  "luminance": 0.11465
}

Semantic roles & 50–950 ramp

primary
#B31F63
secondary
#64CA9B
accent
#ED9B3B
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B31F63

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

Preview Lab → · Contrast checker → · Palette generator →

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