#B31546#B31546

#B31546 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.188 H 11.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#B31546
RGBrgb(179, 21, 70)
HSLhsl(341, 79%, 39%)
HSVhsv(341, 88%, 70%)
CMYKcmyk(0%, 88.3%, 60.9%, 29.8%)
CIE-LABlab(38.84, 60.85, 15.27)
CIE-LCHlch(38.84, 62.74, 14.09°)
OKLaboklab(49.69% 0.1839 0.0377)
OKLCHoklch(49.69% 0.188 11.6)
XYZxyz(19.9662, 10.5653, 6.7812)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31546 #15B382
analogous
#B31595 #B31546 #B33315
triadic
#B31546 #46B315 #1546B3
tetradic
#B31546 #95B315 #15B382 #3315B3
square
#B31546 #95B315 #15B382 #3315B3
split-complementary
#B31546 #15B333 #1595B3
monochromatic
#45081B #7C0F31 #B31546 #E5205D #EB5785

Accessibility & contrast

On white

6.75
#B31546 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#B31546 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31546
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31546#FFFFFF#000000##FFFFFF
##B315461.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484747
Deuteranopia (green-blind)
#6F6642
Tritanopia (blue-blind)
#C4002D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b31546;
/* rgb */ color: rgb(179, 21, 70);
/* oklch */ color: oklch(49.7% 0.188 11.6);
Tailwind
colors: {
  custom: {
    50: '#d16979',
    500: '#b31546',
    950: '#000000',
  },
}
SCSS
$custom: #b31546;
$custom-light: #d16979;
$custom-dark: #000000;
JSON
{
  "hex": "#b31546",
  "rgb": {
    "r": 179,
    "g": 21,
    "b": 70
  },
  "hsl": {
    "h": 341.392,
    "s": 79,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49687,
    "c": 0.18775,
    "h": 11.6
  },
  "luminance": 0.10562
}

Semantic roles & 50–950 ramp

primary
#B31546
secondary
#56CEA9
accent
#F5B932
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150709
muted
#837A7B

Preview Lab

Preview with #B31546

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

Preview Lab → · Contrast checker → · Palette generator →

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