#B7315C#B7315C

#B7315C is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.9% C 0.172 H 6.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B7315C
RGBrgb(183, 49, 92)
HSLhsl(341, 58%, 45%)
HSVhsv(341, 73%, 72%)
CMYKcmyk(0%, 73.2%, 49.7%, 28.2%)
CIE-LABlab(42.82, 56.03, 7.01)
CIE-LCHlch(42.82, 56.47, 7.13°)
OKLaboklab(52.93% 0.171 0.0184)
OKLCHoklch(52.93% 0.172 6.1)
XYZxyz(22.5604, 13.0396, 11.4521)
Luminance0.1304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7315C #31B78C
analogous
#B7319F #B7315C #B74931
triadic
#B7315C #5CB731 #315CB7
tetradic
#B7315C #9FB731 #31B78C #4931B7
square
#B7315C #9FB731 #31B78C #4931B7
split-complementary
#B7315C #31B749 #319FB7
monochromatic
#56172B #872444 #B7315C #D1547C #DE84A1

Accessibility & contrast

On white

5.82
#B7315C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B7315C
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7315C#FFFFFF#000000##FFFFFF
##B7315C1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51545D
Deuteranopia (green-blind)
#746F59
Tritanopia (blue-blind)
#C71543
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b7315c;
/* rgb */ color: rgb(183, 49, 92);
/* oklch */ color: oklch(52.9% 0.172 6.1);
Tailwind
colors: {
  custom: {
    50: '#d27489',
    500: '#b7315c',
    950: '#000000',
  },
}
SCSS
$custom: #b7315c;
$custom-light: #d27489;
$custom-dark: #000000;
JSON
{
  "hex": "#b7315c",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 92
  },
  "hsl": {
    "h": 340.746,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52934,
    "c": 0.172,
    "h": 6.1
  },
  "luminance": 0.13037
}

Semantic roles & 50–950 ramp

primary
#B7315C
secondary
#7CC8AF
accent
#E1B047
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B7315C

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

Preview Lab → · Contrast checker → · Palette generator →

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