#B0408B#B0408B

#B0408B is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.1% C 0.168 H 343.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B0408B
RGBrgb(176, 64, 139)
HSLhsl(320, 47%, 47%)
HSVhsv(320, 64%, 69%)
CMYKcmyk(0%, 63.6%, 21%, 31%)
CIE-LABlab(45.31, 53.51, -18.35)
CIE-LCHlch(45.31, 56.57, 341.07°)
OKLaboklab(55.05% 0.1602 -0.049)
OKLCHoklch(55.05% 0.168 343)
XYZxyz(24.3988, 14.7633, 25.9857)
Luminance0.1476 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0408B #40B065
analogous
#9D40B0 #B0408B #B04053
triadic
#B0408B #8BB040 #408BB0
tetradic
#B0408B #B09D40 #40B065 #4053B0
square
#B0408B #B09D40 #40B065 #4053B0
split-complementary
#B0408B #53B040 #40B09D
monochromatic
#561F44 #833068 #B0408B #C766A7 #D893C1

Accessibility & contrast

On white

5.31
#B0408B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B0408B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0408B
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0408B#FFFFFF#000000##FFFFFF
##B0408B1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8D
Deuteranopia (green-blind)
#6A7288
Tritanopia (blue-blind)
#BB4060
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b0408b;
/* rgb */ color: rgb(176, 64, 139);
/* oklch */ color: oklch(55.1% 0.168 343.0);
Tailwind
colors: {
  custom: {
    50: '#cb7cad',
    500: '#b0408b',
    950: '#000000',
  },
}
SCSS
$custom: #b0408b;
$custom-light: #cb7cad;
$custom-dark: #000000;
JSON
{
  "hex": "#b0408b",
  "rgb": {
    "r": 176,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 319.821,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55052,
    "c": 0.16755,
    "h": 343
  },
  "luminance": 0.14761
}

Semantic roles & 50–950 ramp

primary
#B0408B
secondary
#89C39C
accent
#D67D51
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #B0408B

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

Preview Lab → · Contrast checker → · Palette generator →

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