#B9318D#B9318D

#B9318D is a mid, vivid pink. Relative luminance 0.144; OKLCH L 55.0% C 0.194 H 344.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B9318D
RGBrgb(185, 49, 141)
HSLhsl(319, 58%, 46%)
HSVhsv(319, 74%, 73%)
CMYKcmyk(0%, 73.5%, 23.8%, 27.5%)
CIE-LABlab(44.85, 61.92, -20.13)
CIE-LCHlch(44.85, 65.11, 341.99°)
OKLaboklab(55.04% 0.1869 -0.0537)
OKLCHoklch(55.04% 0.194 344)
XYZxyz(25.9146, 14.4367, 26.6159)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9318D #31B95D
analogous
#A131B9 #B9318D #B93149
triadic
#B9318D #8DB931 #318DB9
tetradic
#B9318D #B9A131 #31B95D #3149B9
square
#B9318D #B9A131 #31B95D #3149B9
split-complementary
#B9318D #49B931 #31B9A1
monochromatic
#581743 #892468 #B9318D #D255AA #DF86C2

Accessibility & contrast

On white

5.40
#B9318D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B9318D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9318D
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9318D#FFFFFF#000000##FFFFFF
##B9318D1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405C90
Deuteranopia (green-blind)
#6A728A
Tritanopia (blue-blind)
#C5305B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b9318d;
/* rgb */ color: rgb(185, 49, 141);
/* oklch */ color: oklch(55.0% 0.194 344.0);
Tailwind
colors: {
  custom: {
    50: '#d276ae',
    500: '#b9318d',
    950: '#000000',
  },
}
SCSS
$custom: #b9318d;
$custom-light: #d276ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b9318d",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 319.412,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55035,
    "c": 0.19449,
    "h": 344
  },
  "luminance": 0.14434
}

Semantic roles & 50–950 ramp

primary
#B9318D
secondary
#7DC896
accent
#E17946
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #B9318D

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

Preview Lab → · Contrast checker → · Palette generator →

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