#B9315F#B9315F

#B9315F is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.4% C 0.175 H 5.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B9315F
RGBrgb(185, 49, 95)
HSLhsl(340, 58%, 46%)
HSVhsv(340, 74%, 73%)
CMYKcmyk(0%, 73.5%, 48.6%, 27.5%)
CIE-LABlab(43.27, 56.88, 5.83)
CIE-LCHlch(43.27, 57.18, 5.85°)
OKLaboklab(53.36% 0.1738 0.0154)
OKLCHoklch(53.36% 0.175 5.1)
XYZxyz(23.1734, 13.3402, 12.1789)
Luminance0.1334 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9315F #31B98B
analogous
#B931A3 #B9315F #B94731
triadic
#B9315F #5FB931 #315FB9
tetradic
#B9315F #A3B931 #31B98B #4731B9
square
#B9315F #A3B931 #31B98B #4731B9
split-complementary
#B9315F #31B947 #31A3B9
monochromatic
#58172D #892446 #B9315F #D2557F #DF86A4

Accessibility & contrast

On white

5.73
#B9315F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B9315F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9315F
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9315F#FFFFFF#000000##FFFFFF
##B9315F1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515560
Deuteranopia (green-blind)
#75705C
Tritanopia (blue-blind)
#C91544
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b9315f;
/* rgb */ color: rgb(185, 49, 95);
/* oklch */ color: oklch(53.4% 0.175 5.1);
Tailwind
colors: {
  custom: {
    50: '#d4748c',
    500: '#b9315f',
    950: '#000000',
  },
}
SCSS
$custom: #b9315f;
$custom-light: #d4748c;
$custom-dark: #000000;
JSON
{
  "hex": "#b9315f",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 339.706,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53359,
    "c": 0.17451,
    "h": 5.1
  },
  "luminance": 0.13337
}

Semantic roles & 50–950 ramp

primary
#B9315F
secondary
#7DC8AF
accent
#E1AD46
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B9315F

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

Preview Lab → · Contrast checker → · Palette generator →

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