#B31658#B31658

#B31658 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.190 H 3.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#B31658
RGBrgb(179, 22, 88)
HSLhsl(335, 78%, 39%)
HSVhsv(335, 88%, 70%)
CMYKcmyk(0%, 87.7%, 50.8%, 29.8%)
CIE-LABlab(39.35, 61.95, 4.48)
CIE-LCHlch(39.35, 62.11, 4.14°)
OKLaboklab(50.21% 0.1901 0.012)
OKLCHoklch(50.21% 0.19 3.6)
XYZxyz(20.6407, 10.8651, 10.2409)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31658 #16B371
analogous
#B316A7 #B31658 #B32316
triadic
#B31658 #58B316 #1658B3
tetradic
#B31658 #A7B316 #16B371 #2316B3
square
#B31658 #A7B316 #16B371 #2316B3
split-complementary
#B31658 #16B323 #16A7B3
monochromatic
#460922 #7C0F3D #B31658 #E42274 #EB5996

Accessibility & contrast

On white

6.62
#B31658 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#B31658 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31658
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31658#FFFFFF#000000##FFFFFF
##B316581.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A59
Deuteranopia (green-blind)
#6C6754
Tritanopia (blue-blind)
#C30036
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31658;
/* rgb */ color: rgb(179, 22, 88);
/* oklch */ color: oklch(50.2% 0.190 3.6);
Tailwind
colors: {
  custom: {
    50: '#d06a86',
    500: '#b31658',
    950: '#000000',
  },
}
SCSS
$custom: #b31658;
$custom-light: #d06a86;
$custom-dark: #000000;
JSON
{
  "hex": "#b31658",
  "rgb": {
    "r": 179,
    "g": 22,
    "b": 88
  },
  "hsl": {
    "h": 334.777,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50209,
    "c": 0.19049,
    "h": 3.6
  },
  "luminance": 0.10862
}

Semantic roles & 50–950 ramp

primary
#B31658
secondary
#57CE9C
accent
#F5A333
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C

Preview Lab

Preview with #B31658

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

Preview Lab → · Contrast checker → · Palette generator →

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