#B3316E#B3316E

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

Color values

HEX#B3316E
RGBrgb(179, 49, 110)
HSLhsl(332, 57%, 45%)
HSVhsv(332, 73%, 70%)
CMYKcmyk(0%, 72.6%, 38.5%, 29.8%)
CIE-LABlab(42.63, 56.63, -4.58)
CIE-LCHlch(42.63, 56.81, 355.37°)
OKLaboklab(52.83% 0.1737 -0.0113)
OKLCHoklch(52.83% 0.174 356.3)
XYZxyz(22.5047, 12.9089, 16.0554)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3316E #31B376
analogous
#B331AF #B3316E #B33531
triadic
#B3316E #6EB331 #316EB3
tetradic
#B3316E #AFB331 #31B376 #3531B3
square
#B3316E #AFB331 #31B376 #3531B3
split-complementary
#B3316E #31B335 #31AFB3
monochromatic
#531733 #832450 #B3316E #D0528D #DD82AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3316E#FFFFFF#000000##FFFFFF
##B3316E1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3316e;
/* rgb */ color: rgb(179, 49, 110);
/* oklch */ color: oklch(52.8% 0.174 356.3);
Tailwind
colors: {
  custom: {
    50: '#cf7497',
    500: '#b3316e',
    950: '#000000',
  },
}
SCSS
$custom: #b3316e;
$custom-light: #cf7497;
$custom-dark: #000000;
JSON
{
  "hex": "#b3316e",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 110
  },
  "hsl": {
    "h": 331.846,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52829,
    "c": 0.1741,
    "h": 356.3
  },
  "luminance": 0.12906
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3316E

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

Preview Lab → · Contrast checker → · Palette generator →

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