#B6318F#B6318F

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

Color values

HEX#B6318F
RGBrgb(182, 49, 143)
HSLhsl(318, 58%, 45%)
HSVhsv(318, 73%, 71%)
CMYKcmyk(0%, 73.1%, 21.4%, 28.6%)
CIE-LABlab(44.42, 61.43, -22.06)
CIE-LCHlch(44.42, 65.27, 340.24°)
OKLaboklab(54.65% 0.1845 -0.0592)
OKLCHoklch(54.65% 0.194 342.2)
XYZxyz(25.3485, 14.1275, 27.3732)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6318F #31B658
analogous
#9A31B6 #B6318F #B6314C
triadic
#B6318F #8FB631 #318FB6
tetradic
#B6318F #B69A31 #31B658 #314CB6
square
#B6318F #B69A31 #31B658 #314CB6
split-complementary
#B6318F #4CB631 #31B69A
monochromatic
#561743 #862469 #B6318F #D153AC #DE84C3

Accessibility & contrast

On white

5.49
#B6318F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B6318F
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6318F#FFFFFF#000000##FFFFFF
##B6318F1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5B92
Deuteranopia (green-blind)
#67718C
Tritanopia (blue-blind)
#C1325C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b6318f;
/* rgb */ color: rgb(182, 49, 143);
/* oklch */ color: oklch(54.6% 0.194 342.2);
Tailwind
colors: {
  custom: {
    50: '#d076b0',
    500: '#b6318f',
    950: '#000000',
  },
}
SCSS
$custom: #b6318f;
$custom-light: #d076b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b6318f",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 317.594,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54647,
    "c": 0.19374,
    "h": 342.2
  },
  "luminance": 0.14125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B6318F

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

Preview Lab → · Contrast checker → · Palette generator →

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