#B0408F#B0408F

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

Color values

HEX#B0408F
RGBrgb(176, 64, 143)
HSLhsl(318, 47%, 47%)
HSVhsv(318, 64%, 69%)
CMYKcmyk(0%, 63.6%, 18.7%, 31%)
CIE-LABlab(45.47, 54.09, -20.52)
CIE-LCHlch(45.47, 57.85, 339.23°)
OKLaboklab(55.23% 0.1611 -0.0551)
OKLCHoklch(55.23% 0.17 341.1)
XYZxyz(24.6964, 14.8823, 27.5532)
Luminance0.1488 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0408F #40B061
analogous
#9940B0 #B0408F #B04057
triadic
#B0408F #8FB040 #408FB0
tetradic
#B0408F #B09940 #40B061 #4057B0
square
#B0408F #B09940 #40B061 #4057B0
split-complementary
#B0408F #57B040 #40B099
monochromatic
#561F46 #83306B #B0408F #C766AB #D893C3

Accessibility & contrast

On white

5.28
#B0408F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B0408F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0408F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0408F#FFFFFF#000000##FFFFFF
##B0408F1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476091
Deuteranopia (green-blind)
#69728C
Tritanopia (blue-blind)
#BA4262
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b0408f;
/* rgb */ color: rgb(176, 64, 143);
/* oklch */ color: oklch(55.2% 0.170 341.1);
Tailwind
colors: {
  custom: {
    50: '#cb7cb0',
    500: '#b0408f',
    950: '#000000',
  },
}
SCSS
$custom: #b0408f;
$custom-light: #cb7cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#b0408f",
  "rgb": {
    "r": 176,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 317.679,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55227,
    "c": 0.17023,
    "h": 341.1
  },
  "luminance": 0.1488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B0408F

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

Preview Lab → · Contrast checker → · Palette generator →

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