#B3318F#B3318F

#B3318F is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.2% C 0.192 H 341.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B3318F
RGBrgb(179, 49, 143)
HSLhsl(317, 57%, 45%)
HSVhsv(317, 73%, 70%)
CMYKcmyk(0%, 72.6%, 20.1%, 29.8%)
CIE-LABlab(43.90, 60.68, -22.91)
CIE-LCHlch(43.90, 64.86, 339.32°)
OKLaboklab(54.17% 0.1816 -0.0616)
OKLCHoklch(54.17% 0.192 341.3)
XYZxyz(24.6474, 13.7660, 27.3403)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3318F #31B355
analogous
#9631B3 #B3318F #B3314E
triadic
#B3318F #8FB331 #318FB3
tetradic
#B3318F #B39631 #31B355 #314EB3
square
#B3318F #B39631 #31B355 #314EB3
split-complementary
#B3318F #4EB331 #31B396
monochromatic
#531742 #832469 #B3318F #D052AD #DD82C4

Accessibility & contrast

On white

5.60
#B3318F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B3318F
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3318F#FFFFFF#000000##FFFFFF
##B3318F1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5A92
Deuteranopia (green-blind)
#656F8C
Tritanopia (blue-blind)
#BE345C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b3318f;
/* rgb */ color: rgb(179, 49, 143);
/* oklch */ color: oklch(54.2% 0.192 341.3);
Tailwind
colors: {
  custom: {
    50: '#ce75b0',
    500: '#b3318f',
    950: '#000000',
  },
}
SCSS
$custom: #b3318f;
$custom-light: #ce75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b3318f",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 316.615,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54171,
    "c": 0.19178,
    "h": 341.3
  },
  "luminance": 0.13764
}

Semantic roles & 50–950 ramp

primary
#B3318F
secondary
#7AC68F
accent
#E07248
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B3318F

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

Preview Lab → · Contrast checker → · Palette generator →

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