#B9408E#B9408E

#B9408E is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.5% C 0.176 H 344.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B9408E
RGBrgb(185, 64, 142)
HSLhsl(321, 49%, 49%)
HSVhsv(321, 65%, 73%)
CMYKcmyk(0%, 65.4%, 23.2%, 27.5%)
CIE-LABlab(46.89, 56.48, -17.61)
CIE-LCHlch(46.89, 59.16, 342.68°)
OKLaboklab(56.54% 0.17 -0.0468)
OKLCHoklch(56.54% 0.176 344.6)
XYZxyz(26.7244, 15.9367, 27.2546)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9408E #40B96B
analogous
#A840B9 #B9408E #B94052
triadic
#B9408E #8EB940 #408EB9
tetradic
#B9408E #B9A840 #40B96B #4052B9
square
#B9408E #B9A840 #40B96B #4052B9
split-complementary
#B9408E #52B940 #40B9A8
monochromatic
#5E2148 #8C306B #B9408E #CC6BA9 #DB98C3

Accessibility & contrast

On white

5.02
#B9408E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B9408E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9408E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9408E#FFFFFF#000000##FFFFFF
##B9408E1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6290
Deuteranopia (green-blind)
#70778B
Tritanopia (blue-blind)
#C53F61
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b9408e;
/* rgb */ color: rgb(185, 64, 142);
/* oklch */ color: oklch(56.5% 0.176 344.6);
Tailwind
colors: {
  custom: {
    50: '#d27daf',
    500: '#b9408e',
    950: '#000000',
  },
}
SCSS
$custom: #b9408e;
$custom-light: #d27daf;
$custom-dark: #000000;
JSON
{
  "hex": "#b9408e",
  "rgb": {
    "r": 185,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 321.322,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56538,
    "c": 0.17635,
    "h": 344.6
  },
  "luminance": 0.15934
}

Semantic roles & 50–950 ramp

primary
#B9408E
secondary
#8EC7A2
accent
#D88050
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B9408E

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

Preview Lab → · Contrast checker → · Palette generator →

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