#B3319A#B3319A

#B3319A is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.7% C 0.199 H 336.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B3319A
RGBrgb(179, 49, 154)
HSLhsl(312, 57%, 45%)
HSVhsv(312, 73%, 70%)
CMYKcmyk(0%, 72.6%, 14%, 29.8%)
CIE-LABlab(44.40, 62.23, -28.76)
CIE-LCHlch(44.40, 68.56, 335.20°)
OKLaboklab(54.7% 0.1831 -0.0782)
OKLCHoklch(54.7% 0.199 336.9)
XYZxyz(25.5219, 14.1158, 31.9461)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3319A #31B34A
analogous
#8B31B3 #B3319A #B33159
triadic
#B3319A #9AB331 #319AB3
tetradic
#B3319A #B38B31 #31B34A #3159B3
square
#B3319A #B38B31 #31B34A #3159B3
split-complementary
#B3319A #59B331 #31B38B
monochromatic
#531747 #832471 #B3319A #D052B7 #DD82CB

Accessibility & contrast

On white

5.49
#B3319A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B3319A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3319A
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3319A#FFFFFF#000000##FFFFFF
##B3319A1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345C9D
Deuteranopia (green-blind)
#617097
Tritanopia (blue-blind)
#BC3962
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b3319a;
/* rgb */ color: rgb(179, 49, 154);
/* oklch */ color: oklch(54.7% 0.199 336.9);
Tailwind
colors: {
  custom: {
    50: '#cd75b8',
    500: '#b3319a',
    950: '#000000',
  },
}
SCSS
$custom: #b3319a;
$custom-light: #cd75b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b3319a",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 311.538,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.547,
    "c": 0.19913,
    "h": 336.9
  },
  "luminance": 0.14113
}

Semantic roles & 50–950 ramp

primary
#B3319A
secondary
#7AC689
accent
#E06548
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B3319A

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

Preview Lab → · Contrast checker → · Palette generator →

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