#B31748#B31748

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

Color values

HEX#B31748
RGBrgb(179, 23, 72)
HSLhsl(341, 77%, 40%)
HSVhsv(341, 87%, 70%)
CMYKcmyk(0%, 87.2%, 59.8%, 29.8%)
CIE-LABlab(39.01, 60.60, 14.23)
CIE-LCHlch(39.01, 62.25, 13.22°)
OKLaboklab(49.83% 0.1835 0.0353)
OKLCHoklch(49.83% 0.187 10.9)
XYZxyz(20.0686, 10.6675, 7.1320)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31748 #17B382
analogous
#B31796 #B31748 #B33417
triadic
#B31748 #48B317 #1748B3
tetradic
#B31748 #96B317 #17B382 #3417B3
square
#B31748 #96B317 #17B382 #3417B3
split-complementary
#B31748 #17B334 #1796B3
monochromatic
#47091C #7D1032 #B31748 #E32460 #EA5B88

Accessibility & contrast

On white

6.70
#B31748 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31748
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31748#FFFFFF#000000##FFFFFF
##B317481.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31748;
/* rgb */ color: rgb(179, 23, 72);
/* oklch */ color: oklch(49.8% 0.187 10.9);
Tailwind
colors: {
  custom: {
    50: '#d16a7a',
    500: '#b31748',
    950: '#000000',
  },
}
SCSS
$custom: #b31748;
$custom-light: #d16a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b31748",
  "rgb": {
    "r": 179,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 341.154,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49831,
    "c": 0.18686,
    "h": 10.9
  },
  "luminance": 0.10664
}

Semantic roles & 50–950 ramp

primary
#B31748
secondary
#58CDA9
accent
#F4B834
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150709
muted
#837A7B

Preview Lab

Preview with #B31748

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

Preview Lab → · Contrast checker → · Palette generator →

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