#B6315E#B6315E

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

Color values

HEX#B6315E
RGBrgb(182, 49, 94)
HSLhsl(340, 58%, 45%)
HSVhsv(340, 73%, 71%)
CMYKcmyk(0%, 73.1%, 48.4%, 28.6%)
CIE-LABlab(42.69, 55.92, 5.55)
CIE-LCHlch(42.69, 56.19, 5.67°)
OKLaboklab(52.82% 0.1709 0.0147)
OKLCHoklch(52.82% 0.172 4.9)
XYZxyz(22.4120, 12.9528, 11.9075)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6315E #31B689
analogous
#B631A1 #B6315E #B64631
triadic
#B6315E #5EB631 #315EB6
tetradic
#B6315E #A1B631 #31B689 #4631B6
square
#B6315E #A1B631 #31B689 #4631B6
split-complementary
#B6315E #31B646 #31A1B6
monochromatic
#56172C #862445 #B6315E #D1537E #DE84A2

Accessibility & contrast

On white

5.85
#B6315E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B6315E
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6315E#FFFFFF#000000##FFFFFF
##B6315E1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50545F
Deuteranopia (green-blind)
#736E5B
Tritanopia (blue-blind)
#C61744
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b6315e;
/* rgb */ color: rgb(182, 49, 94);
/* oklch */ color: oklch(52.8% 0.172 4.9);
Tailwind
colors: {
  custom: {
    50: '#d2748b',
    500: '#b6315e',
    950: '#000000',
  },
}
SCSS
$custom: #b6315e;
$custom-light: #d2748b;
$custom-dark: #000000;
JSON
{
  "hex": "#b6315e",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 339.699,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52821,
    "c": 0.17153,
    "h": 4.9
  },
  "luminance": 0.1295
}

Semantic roles & 50–950 ramp

primary
#B6315E
secondary
#7CC7AE
accent
#E1AD47
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B6315E

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

Preview Lab → · Contrast checker → · Palette generator →

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