#B0408E#B0408E

#B0408E is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.2% C 0.170 H 341.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B0408E
RGBrgb(176, 64, 142)
HSLhsl(318, 47%, 47%)
HSVhsv(318, 64%, 69%)
CMYKcmyk(0%, 63.6%, 19.3%, 31%)
CIE-LABlab(45.43, 53.94, -19.98)
CIE-LCHlch(45.43, 57.52, 339.68°)
OKLaboklab(55.18% 0.1609 -0.0535)
OKLCHoklch(55.18% 0.17 341.6)
XYZxyz(24.6210, 14.8521, 27.1560)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0408E #40B062
analogous
#9A40B0 #B0408E #B04056
triadic
#B0408E #8EB040 #408EB0
tetradic
#B0408E #B09A40 #40B062 #4056B0
square
#B0408E #B09A40 #40B062 #4056B0
split-complementary
#B0408E #56B040 #40B09A
monochromatic
#561F46 #83306A #B0408E #C766AA #D893C3

Accessibility & contrast

On white

5.29
#B0408E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B0408E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0408E
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0408E#FFFFFF#000000##FFFFFF
##B0408E1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486090
Deuteranopia (green-blind)
#69728B
Tritanopia (blue-blind)
#BA4161
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b0408e;
/* rgb */ color: rgb(176, 64, 142);
/* oklch */ color: oklch(55.2% 0.170 341.6);
Tailwind
colors: {
  custom: {
    50: '#cb7caf',
    500: '#b0408e',
    950: '#000000',
  },
}
SCSS
$custom: #b0408e;
$custom-light: #cb7caf;
$custom-dark: #000000;
JSON
{
  "hex": "#b0408e",
  "rgb": {
    "r": 176,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 318.214,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55182,
    "c": 0.16955,
    "h": 341.6
  },
  "luminance": 0.1485
}

Semantic roles & 50–950 ramp

primary
#B0408E
secondary
#89C39A
accent
#D67A51
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #B0408E

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

Preview Lab → · Contrast checker → · Palette generator →

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