#B6315C#B6315C

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

Color values

HEX#B6315C
RGBrgb(182, 49, 92)
HSLhsl(341, 58%, 45%)
HSVhsv(341, 73%, 71%)
CMYKcmyk(0%, 73.1%, 49.5%, 28.6%)
CIE-LABlab(42.64, 55.74, 6.72)
CIE-LCHlch(42.64, 56.14, 6.88°)
OKLaboklab(52.76% 0.1702 0.0176)
OKLCHoklch(52.76% 0.171 5.9)
XYZxyz(22.3234, 12.9174, 11.4409)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6315C #31B68B
analogous
#B6319E #B6315C #B64931
triadic
#B6315C #5CB631 #315CB6
tetradic
#B6315C #9EB631 #31B68B #4931B6
square
#B6315C #9EB631 #31B68B #4931B6
split-complementary
#B6315C #31B649 #319EB6
monochromatic
#56172B #862444 #B6315C #D1537C #DE84A1

Accessibility & contrast

On white

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

On black

3.58
#B6315C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B6315C#FFFFFF#000000##FFFFFF
##B6315C1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b6315c;
/* rgb */ color: rgb(182, 49, 92);
/* oklch */ color: oklch(52.8% 0.171 5.9);
Tailwind
colors: {
  custom: {
    50: '#d27489',
    500: '#b6315c',
    950: '#000000',
  },
}
SCSS
$custom: #b6315c;
$custom-light: #d27489;
$custom-dark: #000000;
JSON
{
  "hex": "#b6315c",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 92
  },
  "hsl": {
    "h": 340.602,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52764,
    "c": 0.17108,
    "h": 5.9
  },
  "luminance": 0.12914
}

Semantic roles & 50–950 ramp

primary
#B6315C
secondary
#7CC7AF
accent
#E1AF47
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B6315C

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

Preview Lab → · Contrast checker → · Palette generator →

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