#B6315F#B6315F

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

Color values

HEX#B6315F
RGBrgb(182, 49, 95)
HSLhsl(339, 58%, 45%)
HSVhsv(339, 73%, 71%)
CMYKcmyk(0%, 73.1%, 47.8%, 28.6%)
CIE-LABlab(42.72, 56.01, 4.97)
CIE-LCHlch(42.72, 56.23, 5.07°)
OKLaboklab(52.85% 0.1713 0.0133)
OKLCHoklch(52.85% 0.172 4.4)
XYZxyz(22.4571, 12.9709, 12.1453)
Luminance0.1297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6315F #31B688
analogous
#B631A2 #B6315F #B64531
triadic
#B6315F #5FB631 #315FB6
tetradic
#B6315F #A2B631 #31B688 #4531B6
square
#B6315F #A2B631 #31B688 #4531B6
split-complementary
#B6315F #31B645 #31A2B6
monochromatic
#56172D #862446 #B6315F #D1537F #DE84A3

Accessibility & contrast

On white

5.84
#B6315F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B6315F
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6315F#FFFFFF#000000##FFFFFF
##B6315F1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505460
Deuteranopia (green-blind)
#736E5C
Tritanopia (blue-blind)
#C61744
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b6315f;
/* rgb */ color: rgb(182, 49, 95);
/* oklch */ color: oklch(52.8% 0.172 4.4);
Tailwind
colors: {
  custom: {
    50: '#d1748c',
    500: '#b6315f',
    950: '#000000',
  },
}
SCSS
$custom: #b6315f;
$custom-light: #d1748c;
$custom-dark: #000000;
JSON
{
  "hex": "#b6315f",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 339.248,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5285,
    "c": 0.17178,
    "h": 4.4
  },
  "luminance": 0.12968
}

Semantic roles & 50–950 ramp

primary
#B6315F
secondary
#7CC7AD
accent
#E1AC47
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B6315F

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

Preview Lab → · Contrast checker → · Palette generator →

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