#B3317D#B3317D

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

Color values

HEX#B3317D
RGBrgb(179, 49, 125)
HSLhsl(325, 57%, 45%)
HSVhsv(325, 73%, 70%)
CMYKcmyk(0%, 72.6%, 30.2%, 29.8%)
CIE-LABlab(43.16, 58.35, -13.05)
CIE-LCHlch(43.16, 59.79, 347.39°)
OKLaboklab(53.39% 0.1779 -0.0342)
OKLCHoklch(53.39% 0.181 349.1)
XYZxyz(23.3916, 13.2636, 20.7263)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3317D #31B367
analogous
#A831B3 #B3317D #B3313C
triadic
#B3317D #7DB331 #317DB3
tetradic
#B3317D #B3A831 #31B367 #313CB3
square
#B3317D #B3A831 #31B367 #313CB3
split-complementary
#B3317D #3CB331 #31B3A8
monochromatic
#53173A #83245B #B3317D #D0529B #DD82B7

Accessibility & contrast

On white

5.75
#B3317D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B3317D
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3317D#FFFFFF#000000##FFFFFF
##B3317D1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45577F
Deuteranopia (green-blind)
#6A6E7A
Tritanopia (blue-blind)
#C02A53
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b3317d;
/* rgb */ color: rgb(179, 49, 125);
/* oklch */ color: oklch(53.4% 0.181 349.1);
Tailwind
colors: {
  custom: {
    50: '#ce75a2',
    500: '#b3317d',
    950: '#000000',
  },
}
SCSS
$custom: #b3317d;
$custom-light: #ce75a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b3317d",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 324.923,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53393,
    "c": 0.18116,
    "h": 349.1
  },
  "luminance": 0.13261
}

Semantic roles & 50–950 ramp

primary
#B3317D
secondary
#7AC699
accent
#E08748
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B3317D

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

Preview Lab → · Contrast checker → · Palette generator →

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