#B3316F#B3316F

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

Color values

HEX#B3316F
RGBrgb(179, 49, 111)
HSLhsl(331, 57%, 45%)
HSVhsv(331, 73%, 70%)
CMYKcmyk(0%, 72.6%, 38%, 29.8%)
CIE-LABlab(42.66, 56.74, -5.15)
CIE-LCHlch(42.66, 56.97, 354.81°)
OKLaboklab(52.86% 0.174 -0.0129)
OKLCHoklch(52.86% 0.175 355.8)
XYZxyz(22.5594, 12.9308, 16.3437)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3316F #31B375
analogous
#B331B0 #B3316F #B33431
triadic
#B3316F #6FB331 #316FB3
tetradic
#B3316F #B0B331 #31B375 #3431B3
square
#B3316F #B0B331 #31B375 #3431B3
split-complementary
#B3316F #31B334 #31B0B3
monochromatic
#531733 #832451 #B3316F #D0528E #DD82AD

Accessibility & contrast

On white

5.86
#B3316F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B3316F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3316F
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3316F#FFFFFF#000000##FFFFFF
##B3316F1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5571
Deuteranopia (green-blind)
#6E6E6C
Tritanopia (blue-blind)
#C1234C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b3316f;
/* rgb */ color: rgb(179, 49, 111);
/* oklch */ color: oklch(52.9% 0.174 355.8);
Tailwind
colors: {
  custom: {
    50: '#ce7498',
    500: '#b3316f',
    950: '#000000',
  },
}
SCSS
$custom: #b3316f;
$custom-light: #ce7498;
$custom-dark: #000000;
JSON
{
  "hex": "#b3316f",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 111
  },
  "hsl": {
    "h": 331.385,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52864,
    "c": 0.1745,
    "h": 355.8
  },
  "luminance": 0.12928
}

Semantic roles & 50–950 ramp

primary
#B3316F
secondary
#7AC6A2
accent
#E09748
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #B3316F

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

Preview Lab → · Contrast checker → · Palette generator →

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