#B9315E#B9315E

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

Color values

HEX#B9315E
RGBrgb(185, 49, 94)
HSLhsl(340, 58%, 46%)
HSVhsv(340, 74%, 73%)
CMYKcmyk(0%, 73.5%, 49.2%, 27.5%)
CIE-LABlab(43.24, 56.79, 6.41)
CIE-LCHlch(43.24, 57.15, 6.44°)
OKLaboklab(53.33% 0.1735 0.0169)
OKLCHoklch(53.33% 0.174 5.6)
XYZxyz(23.1282, 13.3222, 11.9410)
Luminance0.1332 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9315E #31B98C
analogous
#B931A2 #B9315E #B94831
triadic
#B9315E #5EB931 #315EB9
tetradic
#B9315E #A2B931 #31B98C #4831B9
square
#B9315E #A2B931 #31B98C #4831B9
split-complementary
#B9315E #31B948 #31A2B9
monochromatic
#58172D #892445 #B9315E #D2557E #DF86A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9315E#FFFFFF#000000##FFFFFF
##B9315E1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51555F
Deuteranopia (green-blind)
#75705B
Tritanopia (blue-blind)
#C91444
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b9315e;
/* rgb */ color: rgb(185, 49, 94);
/* oklch */ color: oklch(53.3% 0.174 5.6);
Tailwind
colors: {
  custom: {
    50: '#d4748b',
    500: '#b9315e',
    950: '#000000',
  },
}
SCSS
$custom: #b9315e;
$custom-light: #d4748b;
$custom-dark: #000000;
JSON
{
  "hex": "#b9315e",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 340.147,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53331,
    "c": 0.17429,
    "h": 5.6
  },
  "luminance": 0.13319
}

Semantic roles & 50–950 ramp

primary
#B9315E
secondary
#7DC8B0
accent
#E1AE46
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B9315E

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

Preview Lab → · Contrast checker → · Palette generator →

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