#B9318E#B9318E

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

Color values

HEX#B9318E
RGBrgb(185, 49, 142)
HSLhsl(319, 58%, 46%)
HSVhsv(319, 74%, 73%)
CMYKcmyk(0%, 73.5%, 23.2%, 27.5%)
CIE-LABlab(44.89, 62.05, -20.67)
CIE-LCHlch(44.89, 65.41, 341.57°)
OKLaboklab(55.08% 0.1871 -0.0553)
OKLCHoklch(55.08% 0.195 343.5)
XYZxyz(25.9894, 14.4666, 27.0096)
Luminance0.1446 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9318E #31B95C
analogous
#A031B9 #B9318E #B9314A
triadic
#B9318E #8EB931 #318EB9
tetradic
#B9318E #B9A031 #31B95C #314AB9
square
#B9318E #B9A031 #31B95C #314AB9
split-complementary
#B9318E #4AB931 #31B9A0
monochromatic
#581744 #892469 #B9318E #D255AB #DF86C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9318E#FFFFFF#000000##FFFFFF
##B9318E1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405C91
Deuteranopia (green-blind)
#6A728B
Tritanopia (blue-blind)
#C5315B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b9318e;
/* rgb */ color: rgb(185, 49, 142);
/* oklch */ color: oklch(55.1% 0.195 343.5);
Tailwind
colors: {
  custom: {
    50: '#d276af',
    500: '#b9318e',
    950: '#000000',
  },
}
SCSS
$custom: #b9318e;
$custom-light: #d276af;
$custom-dark: #000000;
JSON
{
  "hex": "#b9318e",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 318.971,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55079,
    "c": 0.1951,
    "h": 343.5
  },
  "luminance": 0.14464
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9318E

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

Preview Lab → · Contrast checker → · Palette generator →

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