#B3317A#B3317A

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

Color values

HEX#B3317A
RGBrgb(179, 49, 122)
HSLhsl(326, 57%, 45%)
HSVhsv(326, 73%, 70%)
CMYKcmyk(0%, 72.6%, 31.8%, 29.8%)
CIE-LABlab(43.05, 57.99, -11.38)
CIE-LCHlch(43.05, 59.09, 348.90°)
OKLaboklab(53.27% 0.1772 -0.0296)
OKLCHoklch(53.27% 0.18 350.5)
XYZxyz(23.2028, 13.1881, 19.7322)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3317A #31B36A
analogous
#AB31B3 #B3317A #B33139
triadic
#B3317A #7AB331 #317AB3
tetradic
#B3317A #B3AB31 #31B36A #3139B3
square
#B3317A #B3AB31 #31B36A #3139B3
split-complementary
#B3317A #39B331 #31B3AB
monochromatic
#531739 #832459 #B3317A #D05298 #DD82B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3317A#FFFFFF#000000##FFFFFF
##B3317A1.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)
#46577C
Deuteranopia (green-blind)
#6B6E77
Tritanopia (blue-blind)
#C02951
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b3317a;
/* rgb */ color: rgb(179, 49, 122);
/* oklch */ color: oklch(53.3% 0.180 350.5);
Tailwind
colors: {
  custom: {
    50: '#ce74a0',
    500: '#b3317a',
    950: '#000000',
  },
}
SCSS
$custom: #b3317a;
$custom-light: #ce74a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b3317a",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 122
  },
  "hsl": {
    "h": 326.308,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53274,
    "c": 0.17961,
    "h": 350.5
  },
  "luminance": 0.13185
}

Semantic roles & 50–950 ramp

primary
#B3317A
secondary
#7AC69B
accent
#E08B48
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B3317A

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

Preview Lab → · Contrast checker → · Palette generator →

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