#B8407F#B8407F

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

Color values

HEX#B8407F
RGBrgb(184, 64, 127)
HSLhsl(329, 48%, 49%)
HSVhsv(329, 65%, 72%)
CMYKcmyk(0%, 65.2%, 31%, 27.8%)
CIE-LABlab(46.17, 54.24, -9.65)
CIE-LCHlch(46.17, 55.09, 349.91°)
OKLaboklab(55.79% 0.1652 -0.025)
OKLCHoklch(55.79% 0.167 351.4)
XYZxyz(25.4326, 15.3922, 21.7062)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8407F #40B879
analogous
#B540B8 #B8407F #B84043
triadic
#B8407F #7FB840 #407FB8
tetradic
#B8407F #B8B540 #40B879 #4043B8
square
#B8407F #B8B540 #40B879 #4043B8
split-complementary
#B8407F #43B840 #40B8B5
monochromatic
#5D2040 #8B3060 #B8407F #CB6A9D #DB97BB

Accessibility & contrast

On white

5.15
#B8407F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B8407F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8407F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8407F#FFFFFF#000000##FFFFFF
##B8407F1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8407f;
/* rgb */ color: rgb(184, 64, 127);
/* oklch */ color: oklch(55.8% 0.167 351.4);
Tailwind
colors: {
  custom: {
    50: '#d17ca4',
    500: '#b8407f',
    950: '#000000',
  },
}
SCSS
$custom: #b8407f;
$custom-light: #d17ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#b8407f",
  "rgb": {
    "r": 184,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 328.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55789,
    "c": 0.16708,
    "h": 351.4
  },
  "luminance": 0.15389
}

Semantic roles & 50–950 ramp

primary
#B8407F
secondary
#8DC7A8
accent
#D89050
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #B8407F

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

Preview Lab → · Contrast checker → · Palette generator →

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