#B6408F#B6408F

#B6408F is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.1% C 0.175 H 343.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B6408F
RGBrgb(182, 64, 143)
HSLhsl(320, 48%, 48%)
HSVhsv(320, 65%, 71%)
CMYKcmyk(0%, 64.8%, 21.4%, 28.6%)
CIE-LABlab(46.44, 55.78, -18.94)
CIE-LCHlch(46.44, 58.91, 341.24°)
OKLaboklab(56.13% 0.1672 -0.0506)
OKLCHoklch(56.13% 0.175 343.2)
XYZxyz(26.0835, 15.5975, 27.6182)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6408F #40B667
analogous
#A240B6 #B6408F #B64054
triadic
#B6408F #8FB640 #408FB6
tetradic
#B6408F #B6A240 #40B667 #4054B6
square
#B6408F #B6A240 #40B667 #4054B6
split-complementary
#B6408F #54B640 #40B6A2
monochromatic
#5B2048 #89306B #B6408F #CA69AA #DA96C4

Accessibility & contrast

On white

5.10
#B6408F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B6408F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B6408F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6408F#FFFFFF#000000##FFFFFF
##B6408F1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6291
Deuteranopia (green-blind)
#6D758C
Tritanopia (blue-blind)
#C14062
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b6408f;
/* rgb */ color: rgb(182, 64, 143);
/* oklch */ color: oklch(56.1% 0.175 343.2);
Tailwind
colors: {
  custom: {
    50: '#cf7db0',
    500: '#b6408f',
    950: '#000000',
  },
}
SCSS
$custom: #b6408f;
$custom-light: #cf7db0;
$custom-dark: #000000;
JSON
{
  "hex": "#b6408f",
  "rgb": {
    "r": 182,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 319.831,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56126,
    "c": 0.17471,
    "h": 343.2
  },
  "luminance": 0.15595
}

Semantic roles & 50–950 ramp

primary
#B6408F
secondary
#8CC69F
accent
#D87D50
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B6408F

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

Preview Lab → · Contrast checker → · Palette generator →

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