#B7316C#B7316C

#B7316C is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.4% C 0.177 H 358.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B7316C
RGBrgb(183, 49, 108)
HSLhsl(334, 58%, 45%)
HSVhsv(334, 73%, 72%)
CMYKcmyk(0%, 73.2%, 41%, 28.2%)
CIE-LABlab(43.29, 57.54, -2.29)
CIE-LCHlch(43.29, 57.59, 357.73°)
OKLaboklab(53.43% 0.1766 -0.0053)
OKLCHoklch(53.43% 0.177 358.3)
XYZxyz(23.3352, 13.3495, 15.5323)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7316C #31B77C
analogous
#B731AF #B7316C #B73931
triadic
#B7316C #6CB731 #316CB7
tetradic
#B7316C #AFB731 #31B77C #3931B7
square
#B7316C #AFB731 #31B77C #3931B7
split-complementary
#B7316C #31B739 #31AFB7
monochromatic
#561733 #872450 #B7316C #D1548B #DE84AC

Accessibility & contrast

On white

5.72
#B7316C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B7316C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7316C
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7316C#FFFFFF#000000##FFFFFF
##B7316C1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D566E
Deuteranopia (green-blind)
#716F69
Tritanopia (blue-blind)
#C61F4A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b7316c;
/* rgb */ color: rgb(183, 49, 108);
/* oklch */ color: oklch(53.4% 0.177 358.3);
Tailwind
colors: {
  custom: {
    50: '#d27596',
    500: '#b7316c',
    950: '#000000',
  },
}
SCSS
$custom: #b7316c;
$custom-light: #d27596;
$custom-dark: #000000;
JSON
{
  "hex": "#b7316c",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 108
  },
  "hsl": {
    "h": 333.582,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53426,
    "c": 0.17669,
    "h": 358.3
  },
  "luminance": 0.13347
}

Semantic roles & 50–950 ramp

primary
#B7316C
secondary
#7CC8A6
accent
#E19D47
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B7316C

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

Preview Lab → · Contrast checker → · Palette generator →

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