#B7315A#B7315A

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

Color values

HEX#B7315A
RGBrgb(183, 49, 90)
HSLhsl(342, 58%, 45%)
HSVhsv(342, 73%, 72%)
CMYKcmyk(0%, 73.2%, 50.8%, 28.2%)
CIE-LABlab(42.77, 55.86, 8.19)
CIE-LCHlch(42.77, 56.46, 8.34°)
OKLaboklab(52.88% 0.1703 0.0212)
OKLCHoklch(52.88% 0.172 7.1)
XYZxyz(22.4742, 13.0051, 10.9977)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7315A #31B78E
analogous
#B7319D #B7315A #B74B31
triadic
#B7315A #5AB731 #315AB7
tetradic
#B7315A #9DB731 #31B78E #4B31B7
square
#B7315A #9DB731 #31B78E #4B31B7
split-complementary
#B7315A #31B74B #319DB7
monochromatic
#56172B #872442 #B7315A #D1547A #DE84A0

Accessibility & contrast

On white

5.83
#B7315A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B7315A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7315A
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7315A#FFFFFF#000000##FFFFFF
##B7315A1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52545B
Deuteranopia (green-blind)
#756F57
Tritanopia (blue-blind)
#C71342
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b7315a;
/* rgb */ color: rgb(183, 49, 90);
/* oklch */ color: oklch(52.9% 0.172 7.1);
Tailwind
colors: {
  custom: {
    50: '#d27488',
    500: '#b7315a',
    950: '#000000',
  },
}
SCSS
$custom: #b7315a;
$custom-light: #d27488;
$custom-dark: #000000;
JSON
{
  "hex": "#b7315a",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 90
  },
  "hsl": {
    "h": 341.642,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52879,
    "c": 0.1716,
    "h": 7.1
  },
  "luminance": 0.13002
}

Semantic roles & 50–950 ramp

primary
#B7315A
secondary
#7CC8B1
accent
#E1B247
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B7315A

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

Preview Lab → · Contrast checker → · Palette generator →

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