#B9315B#B9315B

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

Color values

HEX#B9315B
RGBrgb(185, 49, 91)
HSLhsl(341, 58%, 46%)
HSVhsv(341, 74%, 73%)
CMYKcmyk(0%, 73.5%, 50.8%, 27.5%)
CIE-LABlab(43.17, 56.53, 8.17)
CIE-LCHlch(43.17, 57.12, 8.23°)
OKLaboklab(53.25% 0.1724 0.0212)
OKLCHoklch(53.25% 0.174 7)
XYZxyz(22.9962, 13.2694, 11.2458)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9315B #31B98F
analogous
#B9319F #B9315B #B94B31
triadic
#B9315B #5BB931 #315BB9
tetradic
#B9315B #9FB931 #31B98F #4B31B9
square
#B9315B #9FB931 #31B98F #4B31B9
split-complementary
#B9315B #31B94B #319FB9
monochromatic
#58172B #892443 #B9315B #D2557C #DF86A1

Accessibility & contrast

On white

5.75
#B9315B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B9315B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9315B
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9315B#FFFFFF#000000##FFFFFF
##B9315B1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52555C
Deuteranopia (green-blind)
#767058
Tritanopia (blue-blind)
#CA1243
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b9315b;
/* rgb */ color: rgb(185, 49, 91);
/* oklch */ color: oklch(53.2% 0.174 7.0);
Tailwind
colors: {
  custom: {
    50: '#d47489',
    500: '#b9315b',
    950: '#000000',
  },
}
SCSS
$custom: #b9315b;
$custom-light: #d47489;
$custom-dark: #000000;
JSON
{
  "hex": "#b9315b",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 91
  },
  "hsl": {
    "h": 341.471,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53247,
    "c": 0.17365,
    "h": 7
  },
  "luminance": 0.13266
}

Semantic roles & 50–950 ramp

primary
#B9315B
secondary
#7DC8B1
accent
#E1B246
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B9315B

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

Preview Lab → · Contrast checker → · Palette generator →

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