#B3318E#B3318E

#B3318E is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.1% C 0.191 H 341.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B3318E
RGBrgb(179, 49, 142)
HSLhsl(317, 57%, 45%)
HSVhsv(317, 73%, 70%)
CMYKcmyk(0%, 72.6%, 20.7%, 29.8%)
CIE-LABlab(43.85, 60.54, -22.37)
CIE-LCHlch(43.85, 64.54, 339.72°)
OKLaboklab(54.13% 0.1814 -0.0601)
OKLCHoklch(54.13% 0.191 341.7)
XYZxyz(24.5720, 13.7358, 26.9431)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3318E #31B356
analogous
#9731B3 #B3318E #B3314D
triadic
#B3318E #8EB331 #318EB3
tetradic
#B3318E #B39731 #31B356 #314DB3
square
#B3318E #B39731 #31B356 #314DB3
split-complementary
#B3318E #4DB331 #31B397
monochromatic
#531742 #832468 #B3318E #D052AC #DD82C3

Accessibility & contrast

On white

5.61
#B3318E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#B3318E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3318E
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3318E#FFFFFF#000000##FFFFFF
##B3318E1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5A91
Deuteranopia (green-blind)
#656F8B
Tritanopia (blue-blind)
#BE335B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b3318e;
/* rgb */ color: rgb(179, 49, 142);
/* oklch */ color: oklch(54.1% 0.191 341.7);
Tailwind
colors: {
  custom: {
    50: '#ce75af',
    500: '#b3318e',
    950: '#000000',
  },
}
SCSS
$custom: #b3318e;
$custom-light: #ce75af;
$custom-dark: #000000;
JSON
{
  "hex": "#b3318e",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 317.077,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54125,
    "c": 0.19113,
    "h": 341.7
  },
  "luminance": 0.13733
}

Semantic roles & 50–950 ramp

primary
#B3318E
secondary
#7AC690
accent
#E07348
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B3318E

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

Preview Lab → · Contrast checker → · Palette generator →

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