#B3318D#B3318D

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

Color values

HEX#B3318D
RGBrgb(179, 49, 141)
HSLhsl(318, 57%, 45%)
HSVhsv(318, 73%, 70%)
CMYKcmyk(0%, 72.6%, 21.2%, 29.8%)
CIE-LABlab(43.81, 60.40, -21.83)
CIE-LCHlch(43.81, 64.23, 340.13°)
OKLaboklab(54.08% 0.1813 -0.0586)
OKLCHoklch(54.08% 0.191 342.1)
XYZxyz(24.4972, 13.7059, 26.5495)
Luminance0.1370 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3318D #31B357
analogous
#9831B3 #B3318D #B3314C
triadic
#B3318D #8DB331 #318DB3
tetradic
#B3318D #B39831 #31B357 #314CB3
square
#B3318D #B39831 #31B357 #314CB3
split-complementary
#B3318D #4CB331 #31B398
monochromatic
#531741 #832467 #B3318D #D052AB #DD82C2

Accessibility & contrast

On white

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

On black

3.74
#B3318D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B3318D#FFFFFF#000000##FFFFFF
##B3318D1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3318d;
/* rgb */ color: rgb(179, 49, 141);
/* oklch */ color: oklch(54.1% 0.191 342.1);
Tailwind
colors: {
  custom: {
    50: '#ce75ae',
    500: '#b3318d',
    950: '#000000',
  },
}
SCSS
$custom: #b3318d;
$custom-light: #ce75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b3318d",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 317.538,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5408,
    "c": 0.1905,
    "h": 342.1
  },
  "luminance": 0.13703
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3318D

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

Preview Lab → · Contrast checker → · Palette generator →

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