#B31C58#B31C58

#B31C58 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.187 H 4.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#B31C58
RGBrgb(179, 28, 88)
HSLhsl(336, 73%, 41%)
HSVhsv(336, 84%, 70%)
CMYKcmyk(0%, 84.4%, 50.8%, 29.8%)
CIE-LABlab(39.78, 60.71, 5.10)
CIE-LCHlch(39.78, 60.92, 4.80°)
OKLaboklab(50.53% 0.1861 0.0136)
OKLCHoklch(50.53% 0.187 4.2)
XYZxyz(20.7690, 11.1218, 10.2837)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C58 #1CB377
analogous
#B31CA3 #B31C58 #B32B1C
triadic
#B31C58 #58B31C #1C58B3
tetradic
#B31C58 #A3B31C #1CB377 #2B1CB3
square
#B31C58 #A3B31C #1CB377 #2B1CB3
split-complementary
#B31C58 #1CB32B #1CA3B3
monochromatic
#490B24 #7E143E #B31C58 #DE2E74 #E76397

Accessibility & contrast

On white

6.51
#B31C58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#B31C58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31C58
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C58#FFFFFF#000000##FFFFFF
##B31C581.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464B59
Deuteranopia (green-blind)
#6D6854
Tritanopia (blue-blind)
#C30038
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31c58;
/* rgb */ color: rgb(179, 28, 88);
/* oklch */ color: oklch(50.5% 0.187 4.2);
Tailwind
colors: {
  custom: {
    50: '#d06c86',
    500: '#b31c58',
    950: '#000000',
  },
}
SCSS
$custom: #b31c58;
$custom-light: #d06c86;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c58",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 88
  },
  "hsl": {
    "h": 336.159,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50526,
    "c": 0.18657,
    "h": 4.2
  },
  "luminance": 0.11119
}

Semantic roles & 50–950 ramp

primary
#B31C58
secondary
#5FCBA0
accent
#F0A738
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B31C58

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

Preview Lab → · Contrast checker → · Palette generator →

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