#B9318A#B9318A

#B9318A is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.9% C 0.193 H 345.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B9318A
RGBrgb(185, 49, 138)
HSLhsl(321, 58%, 46%)
HSVhsv(321, 74%, 73%)
CMYKcmyk(0%, 73.5%, 25.4%, 27.5%)
CIE-LABlab(44.73, 61.54, -18.50)
CIE-LCHlch(44.73, 64.26, 343.26°)
OKLaboklab(54.9% 0.1863 -0.0492)
OKLCHoklch(54.9% 0.193 345.2)
XYZxyz(25.6944, 14.3486, 25.4562)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9318A #31B960
analogous
#A431B9 #B9318A #B93146
triadic
#B9318A #8AB931 #318AB9
tetradic
#B9318A #B9A431 #31B960 #3146B9
square
#B9318A #B9A431 #31B960 #3146B9
split-complementary
#B9318A #46B931 #31B9A4
monochromatic
#581742 #892466 #B9318A #D255A7 #DF86C0

Accessibility & contrast

On white

5.43
#B9318A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B9318A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9318A
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9318A#FFFFFF#000000##FFFFFF
##B9318A1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8C
Deuteranopia (green-blind)
#6B7287
Tritanopia (blue-blind)
#C52F59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b9318a;
/* rgb */ color: rgb(185, 49, 138);
/* oklch */ color: oklch(54.9% 0.193 345.2);
Tailwind
colors: {
  custom: {
    50: '#d276ac',
    500: '#b9318a',
    950: '#000000',
  },
}
SCSS
$custom: #b9318a;
$custom-light: #d276ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b9318a",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 138
  },
  "hsl": {
    "h": 320.735,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54904,
    "c": 0.19272,
    "h": 345.2
  },
  "luminance": 0.14346
}

Semantic roles & 50–950 ramp

primary
#B9318A
secondary
#7DC897
accent
#E17C46
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #B9318A

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

Preview Lab → · Contrast checker → · Palette generator →

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