#B3319B#B3319B

#B3319B is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.8% C 0.200 H 336.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B3319B
RGBrgb(179, 49, 155)
HSLhsl(311, 57%, 45%)
HSVhsv(311, 73%, 70%)
CMYKcmyk(0%, 72.6%, 13.4%, 29.8%)
CIE-LABlab(44.45, 62.38, -29.29)
CIE-LCHlch(44.45, 68.91, 334.85°)
OKLaboklab(54.75% 0.1832 -0.0797)
OKLCHoklch(54.75% 0.2 336.5)
XYZxyz(25.6055, 14.1492, 32.3865)
Luminance0.1415 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3319B #31B349
analogous
#8A31B3 #B3319B #B3315A
triadic
#B3319B #9BB331 #319BB3
tetradic
#B3319B #B38A31 #31B349 #315AB3
square
#B3319B #B38A31 #31B349 #315AB3
split-complementary
#B3319B #5AB331 #31B38A
monochromatic
#531748 #832471 #B3319B #D052B8 #DD82CC

Accessibility & contrast

On white

5.48
#B3319B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B3319B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3319B
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3319B#FFFFFF#000000##FFFFFF
##B3319B1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345D9E
Deuteranopia (green-blind)
#607098
Tritanopia (blue-blind)
#BC3A62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b3319b;
/* rgb */ color: rgb(179, 49, 155);
/* oklch */ color: oklch(54.8% 0.200 336.5);
Tailwind
colors: {
  custom: {
    50: '#cd76b9',
    500: '#b3319b',
    950: '#000000',
  },
}
SCSS
$custom: #b3319b;
$custom-light: #cd76b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b3319b",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 311.077,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5475,
    "c": 0.19983,
    "h": 336.5
  },
  "luminance": 0.14147
}

Semantic roles & 50–950 ramp

primary
#B3319B
secondary
#7AC688
accent
#E06448
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B3319B

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

Preview Lab → · Contrast checker → · Palette generator →

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