#B9318F#B9318F

#B9318F is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.1% C 0.196 H 343.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B9318F
RGBrgb(185, 49, 143)
HSLhsl(319, 58%, 46%)
HSVhsv(319, 74%, 73%)
CMYKcmyk(0%, 73.5%, 22.7%, 27.5%)
CIE-LABlab(44.94, 62.18, -21.21)
CIE-LCHlch(44.94, 65.70, 341.16°)
OKLaboklab(55.12% 0.1873 -0.0568)
OKLCHoklch(55.12% 0.196 343.1)
XYZxyz(26.0648, 14.4968, 27.4068)
Luminance0.1449 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9318F #31B95B
analogous
#9F31B9 #B9318F #B9314B
triadic
#B9318F #8FB931 #318FB9
tetradic
#B9318F #B99F31 #31B95B #314BB9
square
#B9318F #B99F31 #31B95B #314BB9
split-complementary
#B9318F #4BB931 #31B99F
monochromatic
#581744 #89246A #B9318F #D255AB #DF86C3

Accessibility & contrast

On white

5.39
#B9318F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B9318F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9318F
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9318F#FFFFFF#000000##FFFFFF
##B9318F1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5C92
Deuteranopia (green-blind)
#69728C
Tritanopia (blue-blind)
#C5315C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b9318f;
/* rgb */ color: rgb(185, 49, 143);
/* oklch */ color: oklch(55.1% 0.196 343.1);
Tailwind
colors: {
  custom: {
    50: '#d276b0',
    500: '#b9318f',
    950: '#000000',
  },
}
SCSS
$custom: #b9318f;
$custom-light: #d276b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b9318f",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 318.529,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55124,
    "c": 0.1957,
    "h": 343.1
  },
  "luminance": 0.14494
}

Semantic roles & 50–950 ramp

primary
#B9318F
secondary
#7DC895
accent
#E17646
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #B9318F

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

Preview Lab → · Contrast checker → · Palette generator →

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