#B8407E#B8407E

#B8407E is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.8% C 0.167 H 351.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B8407E
RGBrgb(184, 64, 126)
HSLhsl(329, 48%, 49%)
HSVhsv(329, 65%, 72%)
CMYKcmyk(0%, 65.2%, 31.5%, 27.8%)
CIE-LABlab(46.13, 54.11, -9.09)
CIE-LCHlch(46.13, 54.87, 350.46°)
OKLaboklab(55.75% 0.1649 -0.0235)
OKLCHoklch(55.75% 0.167 351.9)
XYZxyz(25.3677, 15.3662, 21.3647)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8407E #40B87A
analogous
#B640B8 #B8407E #B84042
triadic
#B8407E #7EB840 #407EB8
tetradic
#B8407E #B8B640 #40B87A #4042B8
square
#B8407E #B8B640 #40B87A #4042B8
split-complementary
#B8407E #42B840 #40B8B6
monochromatic
#5D2040 #8B305F #B8407E #CB6A9C #DB97BA

Accessibility & contrast

On white

5.16
#B8407E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B8407E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8407E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8407E#FFFFFF#000000##FFFFFF
##B8407E1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526080
Deuteranopia (green-blind)
#73757B
Tritanopia (blue-blind)
#C5395A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b8407e;
/* rgb */ color: rgb(184, 64, 126);
/* oklch */ color: oklch(55.8% 0.167 351.9);
Tailwind
colors: {
  custom: {
    50: '#d17ca3',
    500: '#b8407e',
    950: '#000000',
  },
}
SCSS
$custom: #b8407e;
$custom-light: #d17ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#b8407e",
  "rgb": {
    "r": 184,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 329,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55752,
    "c": 0.16657,
    "h": 351.9
  },
  "luminance": 0.15363
}

Semantic roles & 50–950 ramp

primary
#B8407E
secondary
#8DC7A9
accent
#D89250
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #B8407E

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

Preview Lab → · Contrast checker → · Palette generator →

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