#B7315F#B7315F

#B7315F is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.0% C 0.173 H 4.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B7315F
RGBrgb(183, 49, 95)
HSLhsl(339, 58%, 45%)
HSVhsv(339, 73%, 72%)
CMYKcmyk(0%, 73.2%, 48.1%, 28.2%)
CIE-LABlab(42.90, 56.30, 5.25)
CIE-LCHlch(42.90, 56.54, 5.33°)
OKLaboklab(53.02% 0.1721 0.014)
OKLCHoklch(53.02% 0.173 4.6)
XYZxyz(22.6942, 13.0931, 12.1564)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7315F #31B789
analogous
#B731A2 #B7315F #B74631
triadic
#B7315F #5FB731 #315FB7
tetradic
#B7315F #A2B731 #31B789 #4631B7
square
#B7315F #A2B731 #31B789 #4631B7
split-complementary
#B7315F #31B746 #31A2B7
monochromatic
#56172D #872446 #B7315F #D1547F #DE84A3

Accessibility & contrast

On white

5.80
#B7315F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B7315F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7315F
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7315F#FFFFFF#000000##FFFFFF
##B7315F1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505460
Deuteranopia (green-blind)
#746F5C
Tritanopia (blue-blind)
#C71744
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b7315f;
/* rgb */ color: rgb(183, 49, 95);
/* oklch */ color: oklch(53.0% 0.173 4.6);
Tailwind
colors: {
  custom: {
    50: '#d2748c',
    500: '#b7315f',
    950: '#000000',
  },
}
SCSS
$custom: #b7315f;
$custom-light: #d2748c;
$custom-dark: #000000;
JSON
{
  "hex": "#b7315f",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 339.403,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5302,
    "c": 0.1727,
    "h": 4.6
  },
  "luminance": 0.1309
}

Semantic roles & 50–950 ramp

primary
#B7315F
secondary
#7CC8AE
accent
#E1AC47
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B7315F

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

Preview Lab → · Contrast checker → · Palette generator →

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