#B6315D#B6315D

#B6315D is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.8% C 0.171 H 5.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B6315D
RGBrgb(182, 49, 93)
HSLhsl(340, 58%, 45%)
HSVhsv(340, 73%, 71%)
CMYKcmyk(0%, 73.1%, 48.9%, 28.6%)
CIE-LABlab(42.67, 55.83, 6.14)
CIE-LCHlch(42.67, 56.16, 6.27°)
OKLaboklab(52.79% 0.1705 0.0162)
OKLCHoklch(52.79% 0.171 5.4)
XYZxyz(22.3674, 12.9350, 11.6727)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6315D #31B68A
analogous
#B631A0 #B6315D #B64731
triadic
#B6315D #5DB631 #315DB6
tetradic
#B6315D #A0B631 #31B68A #4731B6
square
#B6315D #A0B631 #31B68A #4731B6
split-complementary
#B6315D #31B647 #31A0B6
monochromatic
#56172C #862444 #B6315D #D1537D #DE84A1

Accessibility & contrast

On white

5.86
#B6315D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B6315D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B6315D
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6315D#FFFFFF#000000##FFFFFF
##B6315D1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50545E
Deuteranopia (green-blind)
#746E5A
Tritanopia (blue-blind)
#C61643
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b6315d;
/* rgb */ color: rgb(182, 49, 93);
/* oklch */ color: oklch(52.8% 0.171 5.4);
Tailwind
colors: {
  custom: {
    50: '#d2748a',
    500: '#b6315d',
    950: '#000000',
  },
}
SCSS
$custom: #b6315d;
$custom-light: #d2748a;
$custom-dark: #000000;
JSON
{
  "hex": "#b6315d",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 340.15,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52793,
    "c": 0.17131,
    "h": 5.4
  },
  "luminance": 0.12932
}

Semantic roles & 50–950 ramp

primary
#B6315D
secondary
#7CC7AE
accent
#E1AE47
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B6315D

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

Preview Lab → · Contrast checker → · Palette generator →

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