#B31648#B31648

#B31648 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.8% C 0.187 H 10.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#B31648
RGBrgb(179, 22, 72)
HSLhsl(341, 78%, 39%)
HSVhsv(341, 88%, 70%)
CMYKcmyk(0%, 87.7%, 59.8%, 29.8%)
CIE-LABlab(38.95, 60.80, 14.14)
CIE-LCHlch(38.95, 62.42, 13.09°)
OKLaboklab(49.78% 0.1841 0.0351)
OKLCHoklch(49.78% 0.187 10.8)
XYZxyz(20.0491, 10.6285, 7.1255)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31648 #16B381
analogous
#B31696 #B31648 #B33316
triadic
#B31648 #48B316 #1648B3
tetradic
#B31648 #96B316 #16B381 #3316B3
square
#B31648 #96B316 #16B381 #3316B3
split-complementary
#B31648 #16B333 #1696B3
monochromatic
#46091C #7C0F32 #B31648 #E42260 #EB5987

Accessibility & contrast

On white

6.72
#B31648 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#B31648 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31648
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31648#FFFFFF#000000##FFFFFF
##B316481.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474849
Deuteranopia (green-blind)
#6F6744
Tritanopia (blue-blind)
#C4002E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31648;
/* rgb */ color: rgb(179, 22, 72);
/* oklch */ color: oklch(49.8% 0.187 10.8);
Tailwind
colors: {
  custom: {
    50: '#d1697a',
    500: '#b31648',
    950: '#000000',
  },
}
SCSS
$custom: #b31648;
$custom-light: #d1697a;
$custom-dark: #000000;
JSON
{
  "hex": "#b31648",
  "rgb": {
    "r": 179,
    "g": 22,
    "b": 72
  },
  "hsl": {
    "h": 340.892,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49781,
    "c": 0.18742,
    "h": 10.8
  },
  "luminance": 0.10625
}

Semantic roles & 50–950 ramp

primary
#B31648
secondary
#57CEA8
accent
#F5B733
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150709
muted
#837A7B

Preview Lab

Preview with #B31648

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

Preview Lab → · Contrast checker → · Palette generator →

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