#B3317B#B3317B

#B3317B is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.3% C 0.180 H 350.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B3317B
RGBrgb(179, 49, 123)
HSLhsl(326, 57%, 45%)
HSVhsv(326, 73%, 70%)
CMYKcmyk(0%, 72.6%, 31.3%, 29.8%)
CIE-LABlab(43.08, 58.10, -11.94)
CIE-LCHlch(43.08, 59.32, 348.39°)
OKLaboklab(53.31% 0.1774 -0.0311)
OKLCHoklch(53.31% 0.18 350)
XYZxyz(23.2651, 13.2130, 20.0602)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3317B #31B369
analogous
#AA31B3 #B3317B #B3313A
triadic
#B3317B #7BB331 #317BB3
tetradic
#B3317B #B3AA31 #31B369 #313AB3
square
#B3317B #B3AA31 #31B369 #313AB3
split-complementary
#B3317B #3AB331 #31B3AA
monochromatic
#531739 #83245A #B3317B #D05299 #DD82B6

Accessibility & contrast

On white

5.77
#B3317B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B3317B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3317B
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3317B#FFFFFF#000000##FFFFFF
##B3317B1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46577D
Deuteranopia (green-blind)
#6B6E78
Tritanopia (blue-blind)
#C02952
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b3317b;
/* rgb */ color: rgb(179, 49, 123);
/* oklch */ color: oklch(53.3% 0.180 350.0);
Tailwind
colors: {
  custom: {
    50: '#ce74a1',
    500: '#b3317b',
    950: '#000000',
  },
}
SCSS
$custom: #b3317b;
$custom-light: #ce74a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b3317b",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 123
  },
  "hsl": {
    "h": 325.846,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53313,
    "c": 0.18012,
    "h": 350
  },
  "luminance": 0.1321
}

Semantic roles & 50–950 ramp

primary
#B3317B
secondary
#7AC69B
accent
#E08948
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B3317B

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

Preview Lab → · Contrast checker → · Palette generator →

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