#B6318E#B6318E

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

Color values

HEX#B6318E
RGBrgb(182, 49, 142)
HSLhsl(318, 58%, 45%)
HSVhsv(318, 73%, 71%)
CMYKcmyk(0%, 73.1%, 22%, 28.6%)
CIE-LABlab(44.37, 61.30, -21.52)
CIE-LCHlch(44.37, 64.97, 340.65°)
OKLaboklab(54.6% 0.1843 -0.0577)
OKLCHoklch(54.6% 0.193 342.6)
XYZxyz(25.2731, 14.0973, 26.9760)
Luminance0.1409 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6318E #31B659
analogous
#9B31B6 #B6318E #B6314B
triadic
#B6318E #8EB631 #318EB6
tetradic
#B6318E #B69B31 #31B659 #314BB6
square
#B6318E #B69B31 #31B659 #314BB6
split-complementary
#B6318E #4BB631 #31B69B
monochromatic
#561743 #862468 #B6318E #D153AB #DE84C3

Accessibility & contrast

On white

5.50
#B6318E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B6318E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B6318E
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6318E#FFFFFF#000000##FFFFFF
##B6318E1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B91
Deuteranopia (green-blind)
#67718B
Tritanopia (blue-blind)
#C2325B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b6318e;
/* rgb */ color: rgb(182, 49, 142);
/* oklch */ color: oklch(54.6% 0.193 342.6);
Tailwind
colors: {
  custom: {
    50: '#d075af',
    500: '#b6318e',
    950: '#000000',
  },
}
SCSS
$custom: #b6318e;
$custom-light: #d075af;
$custom-dark: #000000;
JSON
{
  "hex": "#b6318e",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 318.045,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54602,
    "c": 0.19312,
    "h": 342.6
  },
  "luminance": 0.14095
}

Semantic roles & 50–950 ramp

primary
#B6318E
secondary
#7CC792
accent
#E17547
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B6318E

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

Preview Lab → · Contrast checker → · Palette generator →

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