#B9315A#B9315A

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

Color values

HEX#B9315A
RGBrgb(185, 49, 90)
HSLhsl(342, 58%, 46%)
HSVhsv(342, 74%, 73%)
CMYKcmyk(0%, 73.5%, 51.4%, 27.5%)
CIE-LABlab(43.14, 56.45, 8.76)
CIE-LCHlch(43.14, 57.13, 8.82°)
OKLaboklab(53.22% 0.172 0.0227)
OKLCHoklch(53.22% 0.173 7.5)
XYZxyz(22.9534, 13.2522, 11.0201)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9315A #31B990
analogous
#B9319E #B9315A #B94C31
triadic
#B9315A #5AB931 #315AB9
tetradic
#B9315A #9EB931 #31B990 #4C31B9
square
#B9315A #9EB931 #31B990 #4C31B9
split-complementary
#B9315A #31B94C #319EB9
monochromatic
#58172B #892442 #B9315A #D2557B #DF86A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9315A#FFFFFF#000000##FFFFFF
##B9315A1.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)
#52555B
Deuteranopia (green-blind)
#767057
Tritanopia (blue-blind)
#CA1142
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b9315a;
/* rgb */ color: rgb(185, 49, 90);
/* oklch */ color: oklch(53.2% 0.173 7.5);
Tailwind
colors: {
  custom: {
    50: '#d47488',
    500: '#b9315a',
    950: '#000000',
  },
}
SCSS
$custom: #b9315a;
$custom-light: #d47488;
$custom-dark: #000000;
JSON
{
  "hex": "#b9315a",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 90
  },
  "hsl": {
    "h": 341.912,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5322,
    "c": 0.17347,
    "h": 7.5
  },
  "luminance": 0.13249
}

Semantic roles & 50–950 ramp

primary
#B9315A
secondary
#7DC8B2
accent
#E1B346
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B9315A

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

Preview Lab → · Contrast checker → · Palette generator →

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