#B6318D#B6318D

#B6318D is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.6% C 0.192 H 343.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B6318D
RGBrgb(182, 49, 141)
HSLhsl(318, 58%, 45%)
HSVhsv(318, 73%, 71%)
CMYKcmyk(0%, 73.1%, 22.5%, 28.6%)
CIE-LABlab(44.33, 61.16, -20.98)
CIE-LCHlch(44.33, 64.66, 341.06°)
OKLaboklab(54.56% 0.1841 -0.0562)
OKLCHoklch(54.56% 0.192 343)
XYZxyz(25.1983, 14.0674, 26.5824)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6318D #31B65A
analogous
#9C31B6 #B6318D #B6314B
triadic
#B6318D #8DB631 #318DB6
tetradic
#B6318D #B69C31 #31B65A #314BB6
square
#B6318D #B69C31 #31B65A #314BB6
split-complementary
#B6318D #4BB631 #31B69C
monochromatic
#561742 #862468 #B6318D #D153AA #DE84C2

Accessibility & contrast

On white

5.51
#B6318D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B6318D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B6318D
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6318D#FFFFFF#000000##FFFFFF
##B6318D1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B90
Deuteranopia (green-blind)
#68718A
Tritanopia (blue-blind)
#C2315B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b6318d;
/* rgb */ color: rgb(182, 49, 141);
/* oklch */ color: oklch(54.6% 0.192 343.0);
Tailwind
colors: {
  custom: {
    50: '#d075ae',
    500: '#b6318d',
    950: '#000000',
  },
}
SCSS
$custom: #b6318d;
$custom-light: #d075ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b6318d",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 318.496,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54557,
    "c": 0.19249,
    "h": 343
  },
  "luminance": 0.14065
}

Semantic roles & 50–950 ramp

primary
#B6318D
secondary
#7CC793
accent
#E17647
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B6318D

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

Preview Lab → · Contrast checker → · Palette generator →

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