#B3317F#B3317F

#B3317F is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.5% C 0.182 H 348.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B3317F
RGBrgb(179, 49, 127)
HSLhsl(324, 57%, 45%)
HSVhsv(324, 73%, 70%)
CMYKcmyk(0%, 72.6%, 29.1%, 29.8%)
CIE-LABlab(43.23, 58.59, -14.17)
CIE-LCHlch(43.23, 60.28, 346.41°)
OKLaboklab(53.47% 0.1784 -0.0372)
OKLCHoklch(53.47% 0.182 348.2)
XYZxyz(23.5206, 13.3152, 21.4060)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3317F #31B365
analogous
#A631B3 #B3317F #B3313E
triadic
#B3317F #7FB331 #317FB3
tetradic
#B3317F #B3A631 #31B365 #313EB3
square
#B3317F #B3A631 #31B365 #313EB3
split-complementary
#B3317F #3EB331 #31B3A6
monochromatic
#53173B #83245D #B3317F #D0529D #DD82B8

Accessibility & contrast

On white

5.73
#B3317F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B3317F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3317F
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3317F#FFFFFF#000000##FFFFFF
##B3317F1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445881
Deuteranopia (green-blind)
#6A6E7C
Tritanopia (blue-blind)
#C02B54
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b3317f;
/* rgb */ color: rgb(179, 49, 127);
/* oklch */ color: oklch(53.5% 0.182 348.2);
Tailwind
colors: {
  custom: {
    50: '#ce75a4',
    500: '#b3317f',
    950: '#000000',
  },
}
SCSS
$custom: #b3317f;
$custom-light: #ce75a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b3317f",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 324,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53474,
    "c": 0.18225,
    "h": 348.2
  },
  "luminance": 0.13313
}

Semantic roles & 50–950 ramp

primary
#B3317F
secondary
#7AC698
accent
#E08548
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B3317F

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

Preview Lab → · Contrast checker → · Palette generator →

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