#B31948#B31948

#B31948 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.186 H 11.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#B31948
RGBrgb(179, 25, 72)
HSLhsl(342, 75%, 40%)
HSVhsv(342, 86%, 70%)
CMYKcmyk(0%, 86%, 59.8%, 29.8%)
CIE-LABlab(39.16, 60.20, 14.42)
CIE-LCHlch(39.16, 61.90, 13.47°)
OKLaboklab(49.94% 0.1822 0.0358)
OKLCHoklch(49.94% 0.186 11.1)
XYZxyz(20.1098, 10.7499, 7.1457)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31948 #19B384
analogous
#B31995 #B31948 #B33719
triadic
#B31948 #48B319 #1948B3
tetradic
#B31948 #95B319 #19B384 #3719B3
square
#B31948 #95B319 #19B384 #3719B3
split-complementary
#B31948 #19B337 #1995B3
monochromatic
#480A1D #7D1232 #B31948 #E12861 #E85E88

Accessibility & contrast

On white

6.67
#B31948 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#B31948 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31948
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31948#FFFFFF#000000##FFFFFF
##B319481.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31948;
/* rgb */ color: rgb(179, 25, 72);
/* oklch */ color: oklch(49.9% 0.186 11.1);
Tailwind
colors: {
  custom: {
    50: '#d16a7a',
    500: '#b31948',
    950: '#000000',
  },
}
SCSS
$custom: #b31948;
$custom-light: #d16a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b31948",
  "rgb": {
    "r": 179,
    "g": 25,
    "b": 72
  },
  "hsl": {
    "h": 341.688,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.49935,
    "c": 0.18565,
    "h": 11.1
  },
  "luminance": 0.10747
}

Semantic roles & 50–950 ramp

primary
#B31948
secondary
#5BCCAA
accent
#F2B936
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #B31948

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

Preview Lab → · Contrast checker → · Palette generator →

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