#B31F62#B31F62

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

Color values

HEX#B31F62
RGBrgb(179, 31, 98)
HSLhsl(333, 70%, 41%)
HSVhsv(333, 83%, 70%)
CMYKcmyk(0%, 82.7%, 45.3%, 29.8%)
CIE-LABlab(40.33, 60.86, -0.46)
CIE-LCHlch(40.33, 60.86, 359.57°)
OKLaboklab(51.02% 0.1872 -0.0005)
OKLCHoklch(51.02% 0.187 359.8)
XYZxyz(21.2867, 11.4484, 12.6418)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31F62 #1FB370
analogous
#B31FAC #B31F62 #B3261F
triadic
#B31F62 #62B31F #1F62B3
tetradic
#B31F62 #ACB31F #1FB370 #261FB3
square
#B31F62 #ACB31F #1FB370 #261FB3
split-complementary
#B31F62 #1FB326 #1FACB3
monochromatic
#4B0D29 #7F1645 #B31F62 #DC3380 #E568A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31F62#FFFFFF#000000##FFFFFF
##B31F621.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)
#444D63
Deuteranopia (green-blind)
#6C695F
Tritanopia (blue-blind)
#C3003E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b31f62;
/* rgb */ color: rgb(179, 31, 98);
/* oklch */ color: oklch(51.0% 0.187 359.8);
Tailwind
colors: {
  custom: {
    50: '#d06d8e',
    500: '#b31f62',
    950: '#000000',
  },
}
SCSS
$custom: #b31f62;
$custom-light: #d06d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b31f62",
  "rgb": {
    "r": 179,
    "g": 31,
    "b": 98
  },
  "hsl": {
    "h": 332.838,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51017,
    "c": 0.18724,
    "h": 359.8
  },
  "luminance": 0.11446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B31F62

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

Preview Lab → · Contrast checker → · Palette generator →

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