#B31C61#B31C61

#B31C61 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.189 H 0.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B31C61
RGBrgb(179, 28, 97)
HSLhsl(333, 73%, 41%)
HSVhsv(333, 84%, 70%)
CMYKcmyk(0%, 84.4%, 45.8%, 29.8%)
CIE-LABlab(40.05, 61.47, -0.23)
CIE-LCHlch(40.05, 61.47, 359.79°)
OKLaboklab(50.81% 0.1892 0.0001)
OKLCHoklch(50.81% 0.189 0)
XYZxyz(21.1651, 11.2802, 12.3697)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C61 #1CB36E
analogous
#B31CAC #B31C61 #B3231C
triadic
#B31C61 #61B31C #1C61B3
tetradic
#B31C61 #ACB31C #1CB36E #231CB3
square
#B31C61 #ACB31C #1CB36E #231CB3
split-complementary
#B31C61 #1CB323 #1CACB3
monochromatic
#490B28 #7E1444 #B31C61 #DE2E7F #E7639F

Accessibility & contrast

On white

6.45
#B31C61 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#B31C61 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31C61
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C61#FFFFFF#000000##FFFFFF
##B31C611.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434C62
Deuteranopia (green-blind)
#6B685E
Tritanopia (blue-blind)
#C3003D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31c61;
/* rgb */ color: rgb(179, 28, 97);
/* oklch */ color: oklch(50.8% 0.189 0.0);
Tailwind
colors: {
  custom: {
    50: '#d06c8d',
    500: '#b31c61',
    950: '#000000',
  },
}
SCSS
$custom: #b31c61;
$custom-light: #d06c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c61",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 97
  },
  "hsl": {
    "h": 332.583,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50805,
    "c": 0.18918,
    "h": 0
  },
  "luminance": 0.11277
}

Semantic roles & 50–950 ramp

primary
#B31C61
secondary
#5FCB9A
accent
#F09C38
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B31C61

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

Preview Lab → · Contrast checker → · Palette generator →

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