#B31C76#B31C76

#B31C76 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.6% C 0.198 H 350.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B31C76
RGBrgb(179, 28, 118)
HSLhsl(324, 73%, 41%)
HSVhsv(324, 84%, 70%)
CMYKcmyk(0%, 84.4%, 34.1%, 29.8%)
CIE-LABlab(40.78, 63.56, -12.33)
CIE-LCHlch(40.78, 64.74, 349.02°)
OKLaboklab(51.57% 0.1952 -0.0321)
OKLCHoklch(51.57% 0.198 350.7)
XYZxyz(22.2771, 11.7250, 18.2261)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C76 #1CB359
analogous
#A41CB3 #B31C76 #B31C2B
triadic
#B31C76 #76B31C #1C76B3
tetradic
#B31C76 #B3A41C #1CB359 #1C2BB3
square
#B31C76 #B3A41C #1CB359 #1C2BB3
split-complementary
#B31C76 #2BB31C #1CB3A4
monochromatic
#490B30 #7E1453 #B31C76 #DE2E97 #E763B1

Accessibility & contrast

On white

6.28
#B31C76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B31C76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31C76
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C76#FFFFFF#000000##FFFFFF
##B31C761.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4F78
Deuteranopia (green-blind)
#676973
Tritanopia (blue-blind)
#C10748
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b31c76;
/* rgb */ color: rgb(179, 28, 118);
/* oklch */ color: oklch(51.6% 0.198 350.7);
Tailwind
colors: {
  custom: {
    50: '#cf6d9d',
    500: '#b31c76',
    950: '#000000',
  },
}
SCSS
$custom: #b31c76;
$custom-light: #cf6d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c76",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 324.238,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51571,
    "c": 0.19778,
    "h": 350.7
  },
  "luminance": 0.11722
}

Semantic roles & 50–950 ramp

primary
#B31C76
secondary
#5FCB8B
accent
#F08238
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15080E
muted
#837B7E

Preview Lab

Preview with #B31C76

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

Preview Lab → · Contrast checker → · Palette generator →

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