#B3316D#B3316D

#B3316D is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.8% C 0.174 H 356.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B3316D
RGBrgb(179, 49, 109)
HSLhsl(332, 57%, 45%)
HSVhsv(332, 73%, 70%)
CMYKcmyk(0%, 72.6%, 39.1%, 29.8%)
CIE-LABlab(42.59, 56.52, -4.01)
CIE-LCHlch(42.59, 56.66, 355.94°)
OKLaboklab(52.79% 0.1734 -0.0098)
OKLCHoklch(52.79% 0.174 356.8)
XYZxyz(22.4505, 12.8872, 15.7703)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3316D #31B377
analogous
#B331AE #B3316D #B33631
triadic
#B3316D #6DB331 #316DB3
tetradic
#B3316D #AEB331 #31B377 #3631B3
square
#B3316D #AEB331 #31B377 #3631B3
split-complementary
#B3316D #31B336 #31AEB3
monochromatic
#531732 #832450 #B3316D #D0528C #DD82AC

Accessibility & contrast

On white

5.87
#B3316D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B3316D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3316D
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3316D#FFFFFF#000000##FFFFFF
##B3316D1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B556F
Deuteranopia (green-blind)
#6E6D6A
Tritanopia (blue-blind)
#C1224B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b3316d;
/* rgb */ color: rgb(179, 49, 109);
/* oklch */ color: oklch(52.8% 0.174 356.8);
Tailwind
colors: {
  custom: {
    50: '#cf7496',
    500: '#b3316d',
    950: '#000000',
  },
}
SCSS
$custom: #b3316d;
$custom-light: #cf7496;
$custom-dark: #000000;
JSON
{
  "hex": "#b3316d",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 109
  },
  "hsl": {
    "h": 332.308,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52794,
    "c": 0.17369,
    "h": 356.8
  },
  "luminance": 0.12884
}

Semantic roles & 50–950 ramp

primary
#B3316D
secondary
#7AC6A3
accent
#E09A48
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #B3316D

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

Preview Lab → · Contrast checker → · Palette generator →

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