#B31547#B31547

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

Color values

HEX#B31547
RGBrgb(179, 21, 71)
HSLhsl(341, 79%, 39%)
HSVhsv(341, 88%, 70%)
CMYKcmyk(0%, 88.3%, 60.3%, 29.8%)
CIE-LABlab(38.86, 60.92, 14.66)
CIE-LCHlch(38.86, 62.66, 13.53°)
OKLaboklab(49.71% 0.1843 0.0363)
OKLCHoklch(49.71% 0.188 11.1)
XYZxyz(19.9980, 10.5781, 6.9488)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31547 #15B381
analogous
#B31596 #B31547 #B33215
triadic
#B31547 #47B315 #1547B3
tetradic
#B31547 #96B315 #15B381 #3215B3
square
#B31547 #96B315 #15B381 #3215B3
split-complementary
#B31547 #15B332 #1596B3
monochromatic
#45081C #7C0F31 #B31547 #E5205F #EB5786

Accessibility & contrast

On white

6.74
#B31547 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#B31547 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31547
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31547#FFFFFF#000000##FFFFFF
##B315471.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31547;
/* rgb */ color: rgb(179, 21, 71);
/* oklch */ color: oklch(49.7% 0.188 11.1);
Tailwind
colors: {
  custom: {
    50: '#d16979',
    500: '#b31547',
    950: '#000000',
  },
}
SCSS
$custom: #b31547;
$custom-light: #d16979;
$custom-dark: #000000;
JSON
{
  "hex": "#b31547",
  "rgb": {
    "r": 179,
    "g": 21,
    "b": 71
  },
  "hsl": {
    "h": 341.013,
    "s": 79,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4971,
    "c": 0.18786,
    "h": 11.1
  },
  "luminance": 0.10575
}

Semantic roles & 50–950 ramp

primary
#B31547
secondary
#56CEA8
accent
#F5B832
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150709
muted
#837A7B

Preview Lab

Preview with #B31547

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

Preview Lab → · Contrast checker → · Palette generator →

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