#B3317C#B3317C

#B3317C is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.4% C 0.181 H 349.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B3317C
RGBrgb(179, 49, 124)
HSLhsl(325, 57%, 45%)
HSVhsv(325, 73%, 70%)
CMYKcmyk(0%, 72.6%, 30.7%, 29.8%)
CIE-LABlab(43.12, 58.22, -12.50)
CIE-LCHlch(43.12, 59.55, 347.89°)
OKLaboklab(53.35% 0.1777 -0.0327)
OKLCHoklch(53.35% 0.181 349.6)
XYZxyz(23.3280, 13.2382, 20.3916)
Luminance0.1324 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3317C #31B368
analogous
#A931B3 #B3317C #B3313B
triadic
#B3317C #7CB331 #317CB3
tetradic
#B3317C #B3A931 #31B368 #313BB3
square
#B3317C #B3A931 #31B368 #313BB3
split-complementary
#B3317C #3BB331 #31B3A9
monochromatic
#531739 #83245B #B3317C #D0529A #DD82B6

Accessibility & contrast

On white

5.76
#B3317C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B3317C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3317C
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3317C#FFFFFF#000000##FFFFFF
##B3317C1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45577E
Deuteranopia (green-blind)
#6B6E79
Tritanopia (blue-blind)
#C02A52
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b3317c;
/* rgb */ color: rgb(179, 49, 124);
/* oklch */ color: oklch(53.4% 0.181 349.6);
Tailwind
colors: {
  custom: {
    50: '#ce75a2',
    500: '#b3317c',
    950: '#000000',
  },
}
SCSS
$custom: #b3317c;
$custom-light: #ce75a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b3317c",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 325.385,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53353,
    "c": 0.18064,
    "h": 349.6
  },
  "luminance": 0.13236
}

Semantic roles & 50–950 ramp

primary
#B3317C
secondary
#7AC69A
accent
#E08848
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B3317C

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

Preview Lab → · Contrast checker → · Palette generator →

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