#B6318C#B6318C

#B6318C is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.5% C 0.192 H 343.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B6318C
RGBrgb(182, 49, 140)
HSLhsl(319, 58%, 45%)
HSVhsv(319, 73%, 71%)
CMYKcmyk(0%, 73.1%, 23.1%, 28.6%)
CIE-LABlab(44.29, 61.03, -20.44)
CIE-LCHlch(44.29, 64.36, 341.48°)
OKLaboklab(54.51% 0.1839 -0.0546)
OKLCHoklch(54.51% 0.192 343.5)
XYZxyz(25.1243, 14.0378, 26.1923)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6318C #31B65B
analogous
#9D31B6 #B6318C #B6314A
triadic
#B6318C #8CB631 #318CB6
tetradic
#B6318C #B69D31 #31B65B #314AB6
square
#B6318C #B69D31 #31B65B #314AB6
split-complementary
#B6318C #4AB631 #31B69D
monochromatic
#561742 #862467 #B6318C #D153A9 #DE84C1

Accessibility & contrast

On white

5.52
#B6318C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B6318C
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6318C#FFFFFF#000000##FFFFFF
##B6318C1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B8F
Deuteranopia (green-blind)
#687189
Tritanopia (blue-blind)
#C2315A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b6318c;
/* rgb */ color: rgb(182, 49, 140);
/* oklch */ color: oklch(54.5% 0.192 343.5);
Tailwind
colors: {
  custom: {
    50: '#d075ad',
    500: '#b6318c',
    950: '#000000',
  },
}
SCSS
$custom: #b6318c;
$custom-light: #d075ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b6318c",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 140
  },
  "hsl": {
    "h": 318.947,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54512,
    "c": 0.19188,
    "h": 343.5
  },
  "luminance": 0.14035
}

Semantic roles & 50–950 ramp

primary
#B6318C
secondary
#7CC794
accent
#E17847
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B6318C

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

Preview Lab → · Contrast checker → · Palette generator →

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