#B3316A#B3316A

#B3316A is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.7% C 0.173 H 358.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B3316A
RGBrgb(179, 49, 106)
HSLhsl(334, 57%, 45%)
HSVhsv(334, 73%, 70%)
CMYKcmyk(0%, 72.6%, 40.8%, 29.8%)
CIE-LABlab(42.50, 56.21, -2.29)
CIE-LCHlch(42.50, 56.25, 357.67°)
OKLaboklab(52.69% 0.1725 -0.0053)
OKLCHoklch(52.69% 0.173 358.2)
XYZxyz(22.2918, 12.8237, 14.9342)
Luminance0.1282 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3316A #31B37A
analogous
#B331AB #B3316A #B33931
triadic
#B3316A #6AB331 #316AB3
tetradic
#B3316A #ABB331 #31B37A #3931B3
square
#B3316A #ABB331 #31B37A #3931B3
split-complementary
#B3316A #31B339 #31ABB3
monochromatic
#531731 #83244E #B3316A #D05289 #DD82AA

Accessibility & contrast

On white

5.89
#B3316A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B3316A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3316A
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3316A#FFFFFF#000000##FFFFFF
##B3316A1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C556B
Deuteranopia (green-blind)
#6F6D67
Tritanopia (blue-blind)
#C22049
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b3316a;
/* rgb */ color: rgb(179, 49, 106);
/* oklch */ color: oklch(52.7% 0.173 358.2);
Tailwind
colors: {
  custom: {
    50: '#cf7494',
    500: '#b3316a',
    950: '#000000',
  },
}
SCSS
$custom: #b3316a;
$custom-light: #cf7494;
$custom-dark: #000000;
JSON
{
  "hex": "#b3316a",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 106
  },
  "hsl": {
    "h": 333.692,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52691,
    "c": 0.17254,
    "h": 358.2
  },
  "luminance": 0.12821
}

Semantic roles & 50–950 ramp

primary
#B3316A
secondary
#7AC6A5
accent
#E09D48
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B3316A

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

Preview Lab → · Contrast checker → · Palette generator →

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