#B6318B#B6318B

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

Color values

HEX#B6318B
RGBrgb(182, 49, 139)
HSLhsl(319, 58%, 45%)
HSVhsv(319, 73%, 71%)
CMYKcmyk(0%, 73.1%, 23.6%, 28.6%)
CIE-LABlab(44.24, 60.90, -19.90)
CIE-LCHlch(44.24, 64.07, 341.90°)
OKLaboklab(54.47% 0.1838 -0.0531)
OKLCHoklch(54.47% 0.191 343.9)
XYZxyz(25.0509, 14.0084, 25.8057)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6318B #31B65C
analogous
#9E31B6 #B6318B #B63149
triadic
#B6318B #8BB631 #318BB6
tetradic
#B6318B #B69E31 #31B65C #3149B6
square
#B6318B #B69E31 #31B65C #3149B6
split-complementary
#B6318B #49B631 #31B69E
monochromatic
#561741 #862466 #B6318B #D153A8 #DE84C1

Accessibility & contrast

On white

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

On black

3.80
#B6318B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B6318B#FFFFFF#000000##FFFFFF
##B6318B1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405A8D
Deuteranopia (green-blind)
#687188
Tritanopia (blue-blind)
#C2305A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b6318b;
/* rgb */ color: rgb(182, 49, 139);
/* oklch */ color: oklch(54.5% 0.191 343.9);
Tailwind
colors: {
  custom: {
    50: '#d075ad',
    500: '#b6318b',
    950: '#000000',
  },
}
SCSS
$custom: #b6318b;
$custom-light: #d075ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b6318b",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 139
  },
  "hsl": {
    "h": 319.398,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54468,
    "c": 0.19128,
    "h": 343.9
  },
  "luminance": 0.14006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B6318B

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

Preview Lab → · Contrast checker → · Palette generator →

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