#B9318B#B9318B

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

Color values

HEX#B9318B
RGBrgb(185, 49, 139)
HSLhsl(320, 58%, 46%)
HSVhsv(320, 74%, 73%)
CMYKcmyk(0%, 73.5%, 24.9%, 27.5%)
CIE-LABlab(44.77, 61.66, -19.05)
CIE-LCHlch(44.77, 64.54, 342.83°)
OKLaboklab(54.95% 0.1865 -0.0507)
OKLCHoklch(54.95% 0.193 344.8)
XYZxyz(25.7671, 14.3777, 25.8393)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9318B #31B95F
analogous
#A331B9 #B9318B #B93147
triadic
#B9318B #8BB931 #318BB9
tetradic
#B9318B #B9A331 #31B95F #3147B9
square
#B9318B #B9A331 #31B95F #3147B9
split-complementary
#B9318B #47B931 #31B9A3
monochromatic
#581742 #892467 #B9318B #D255A8 #DF86C1

Accessibility & contrast

On white

5.42
#B9318B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B9318B
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9318B#FFFFFF#000000##FFFFFF
##B9318B1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8D
Deuteranopia (green-blind)
#6B7288
Tritanopia (blue-blind)
#C52F5A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b9318b;
/* rgb */ color: rgb(185, 49, 139);
/* oklch */ color: oklch(54.9% 0.193 344.8);
Tailwind
colors: {
  custom: {
    50: '#d276ad',
    500: '#b9318b',
    950: '#000000',
  },
}
SCSS
$custom: #b9318b;
$custom-light: #d276ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b9318b",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 139
  },
  "hsl": {
    "h": 320.294,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54948,
    "c": 0.19331,
    "h": 344.8
  },
  "luminance": 0.14375
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9318B

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

Preview Lab → · Contrast checker → · Palette generator →

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