#B3318A#B3318A

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

Color values

HEX#B3318A
RGBrgb(179, 49, 138)
HSLhsl(319, 57%, 45%)
HSVhsv(319, 73%, 70%)
CMYKcmyk(0%, 72.6%, 22.9%, 29.8%)
CIE-LABlab(43.68, 60.00, -20.21)
CIE-LCHlch(43.68, 63.31, 341.39°)
OKLaboklab(53.94% 0.1807 -0.054)
OKLCHoklch(53.94% 0.189 343.4)
XYZxyz(24.2770, 13.6178, 25.3898)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3318A #31B35A
analogous
#9B31B3 #B3318A #B33149
triadic
#B3318A #8AB331 #318AB3
tetradic
#B3318A #B39B31 #31B35A #3149B3
square
#B3318A #B39B31 #31B35A #3149B3
split-complementary
#B3318A #49B331 #31B39B
monochromatic
#531740 #832465 #B3318A #D052A8 #DD82C0

Accessibility & contrast

On white

5.64
#B3318A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B3318A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3318A
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3318A#FFFFFF#000000##FFFFFF
##B3318A1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598C
Deuteranopia (green-blind)
#666F87
Tritanopia (blue-blind)
#BF3159
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b3318a;
/* rgb */ color: rgb(179, 49, 138);
/* oklch */ color: oklch(53.9% 0.189 343.4);
Tailwind
colors: {
  custom: {
    50: '#ce75ac',
    500: '#b3318a',
    950: '#000000',
  },
}
SCSS
$custom: #b3318a;
$custom-light: #ce75ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b3318a",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 138
  },
  "hsl": {
    "h": 318.923,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53944,
    "c": 0.18863,
    "h": 343.4
  },
  "luminance": 0.13615
}

Semantic roles & 50–950 ramp

primary
#B3318A
secondary
#7AC692
accent
#E07848
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B3318A

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

Preview Lab → · Contrast checker → · Palette generator →

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