#B9315C#B9315C

#B9315C is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.3% C 0.174 H 6.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B9315C
RGBrgb(185, 49, 92)
HSLhsl(341, 58%, 46%)
HSVhsv(341, 74%, 73%)
CMYKcmyk(0%, 73.5%, 50.3%, 27.5%)
CIE-LABlab(43.19, 56.62, 7.59)
CIE-LCHlch(43.19, 57.12, 7.63°)
OKLaboklab(53.27% 0.1727 0.0198)
OKLCHoklch(53.27% 0.174 6.5)
XYZxyz(23.0397, 13.2867, 11.4745)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9315C #31B98E
analogous
#B931A0 #B9315C #B94A31
triadic
#B9315C #5CB931 #315CB9
tetradic
#B9315C #A0B931 #31B98E #4A31B9
square
#B9315C #A0B931 #31B98E #4A31B9
split-complementary
#B9315C #31B94A #31A0B9
monochromatic
#58172C #892444 #B9315C #D2557D #DF86A2

Accessibility & contrast

On white

5.74
#B9315C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B9315C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9315C
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9315C#FFFFFF#000000##FFFFFF
##B9315C1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52555D
Deuteranopia (green-blind)
#767059
Tritanopia (blue-blind)
#CA1343
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b9315c;
/* rgb */ color: rgb(185, 49, 92);
/* oklch */ color: oklch(53.3% 0.174 6.5);
Tailwind
colors: {
  custom: {
    50: '#d47489',
    500: '#b9315c',
    950: '#000000',
  },
}
SCSS
$custom: #b9315c;
$custom-light: #d47489;
$custom-dark: #000000;
JSON
{
  "hex": "#b9315c",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 92
  },
  "hsl": {
    "h": 341.029,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53275,
    "c": 0.17386,
    "h": 6.5
  },
  "luminance": 0.13284
}

Semantic roles & 50–950 ramp

primary
#B9315C
secondary
#7DC8B1
accent
#E1B046
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B9315C

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

Preview Lab → · Contrast checker → · Palette generator →

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