#B3317E#B3317E

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

Color values

HEX#B3317E
RGBrgb(179, 49, 126)
HSLhsl(324, 57%, 45%)
HSVhsv(324, 73%, 70%)
CMYKcmyk(0%, 72.6%, 29.6%, 29.8%)
CIE-LABlab(43.20, 58.47, -13.61)
CIE-LCHlch(43.20, 60.03, 346.90°)
OKLaboklab(53.43% 0.1782 -0.0357)
OKLCHoklch(53.43% 0.182 348.7)
XYZxyz(23.4558, 13.2893, 21.0645)
Luminance0.1329 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3317E #31B366
analogous
#A731B3 #B3317E #B3313D
triadic
#B3317E #7EB331 #317EB3
tetradic
#B3317E #B3A731 #31B366 #313DB3
square
#B3317E #B3A731 #31B366 #313DB3
split-complementary
#B3317E #3DB331 #31B3A7
monochromatic
#53173A #83245C #B3317E #D0529C #DD82B8

Accessibility & contrast

On white

5.74
#B3317E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B3317E
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3317E#FFFFFF#000000##FFFFFF
##B3317E1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445880
Deuteranopia (green-blind)
#6A6E7B
Tritanopia (blue-blind)
#C02B53
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b3317e;
/* rgb */ color: rgb(179, 49, 126);
/* oklch */ color: oklch(53.4% 0.182 348.7);
Tailwind
colors: {
  custom: {
    50: '#ce75a3',
    500: '#b3317e',
    950: '#000000',
  },
}
SCSS
$custom: #b3317e;
$custom-light: #ce75a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b3317e",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 324.462,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53433,
    "c": 0.1817,
    "h": 348.7
  },
  "luminance": 0.13287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3317E

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

Preview Lab → · Contrast checker → · Palette generator →

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