#B3318B#B3318B

#B3318B is a mid, vivid pink. Relative luminance 0.136; OKLCH L 54.0% C 0.189 H 342.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B3318B
RGBrgb(179, 49, 139)
HSLhsl(318, 57%, 45%)
HSVhsv(318, 73%, 70%)
CMYKcmyk(0%, 72.6%, 22.3%, 29.8%)
CIE-LABlab(43.72, 60.13, -20.75)
CIE-LCHlch(43.72, 63.61, 340.96°)
OKLaboklab(53.99% 0.1809 -0.0555)
OKLCHoklch(53.99% 0.189 342.9)
XYZxyz(24.3498, 13.6469, 25.7728)
Luminance0.1364 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3318B #31B359
analogous
#9A31B3 #B3318B #B3314A
triadic
#B3318B #8BB331 #318BB3
tetradic
#B3318B #B39A31 #31B359 #314AB3
square
#B3318B #B39A31 #31B359 #314AB3
split-complementary
#B3318B #4AB331 #31B39A
monochromatic
#531740 #832466 #B3318B #D052A9 #DD82C1

Accessibility & contrast

On white

5.63
#B3318B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B3318B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3318B
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3318B#FFFFFF#000000##FFFFFF
##B3318B1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5A8D
Deuteranopia (green-blind)
#666F88
Tritanopia (blue-blind)
#BE325A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b3318b;
/* rgb */ color: rgb(179, 49, 139);
/* oklch */ color: oklch(54.0% 0.189 342.9);
Tailwind
colors: {
  custom: {
    50: '#ce75ad',
    500: '#b3318b',
    950: '#000000',
  },
}
SCSS
$custom: #b3318b;
$custom-light: #ce75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b3318b",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 139
  },
  "hsl": {
    "h": 318.462,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53989,
    "c": 0.18925,
    "h": 342.9
  },
  "luminance": 0.13644
}

Semantic roles & 50–950 ramp

primary
#B3318B
secondary
#7AC691
accent
#E07748
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B3318B

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

Preview Lab → · Contrast checker → · Palette generator →

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