#B7315E#B7315E

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

Color values

HEX#B7315E
RGBrgb(183, 49, 94)
HSLhsl(340, 58%, 45%)
HSVhsv(340, 73%, 72%)
CMYKcmyk(0%, 73.2%, 48.6%, 28.2%)
CIE-LABlab(42.88, 56.21, 5.84)
CIE-LCHlch(42.88, 56.51, 5.93°)
OKLaboklab(52.99% 0.1718 0.0155)
OKLCHoklch(52.99% 0.172 5.1)
XYZxyz(22.6490, 13.0751, 11.9186)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7315E #31B78A
analogous
#B731A1 #B7315E #B74731
triadic
#B7315E #5EB731 #315EB7
tetradic
#B7315E #A1B731 #31B78A #4731B7
square
#B7315E #A1B731 #31B78A #4731B7
split-complementary
#B7315E #31B747 #31A1B7
monochromatic
#56172C #872445 #B7315E #D1547E #DE84A2

Accessibility & contrast

On white

5.81
#B7315E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B7315E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7315E
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7315E#FFFFFF#000000##FFFFFF
##B7315E1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51545F
Deuteranopia (green-blind)
#746F5B
Tritanopia (blue-blind)
#C71644
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b7315e;
/* rgb */ color: rgb(183, 49, 94);
/* oklch */ color: oklch(53.0% 0.172 5.1);
Tailwind
colors: {
  custom: {
    50: '#d2748b',
    500: '#b7315e',
    950: '#000000',
  },
}
SCSS
$custom: #b7315e;
$custom-light: #d2748b;
$custom-dark: #000000;
JSON
{
  "hex": "#b7315e",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 339.851,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52991,
    "c": 0.17245,
    "h": 5.1
  },
  "luminance": 0.13072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7315E

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

Preview Lab → · Contrast checker → · Palette generator →

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