#B0408C#B0408C

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

Color values

HEX#B0408C
RGBrgb(176, 64, 140)
HSLhsl(319, 47%, 47%)
HSVhsv(319, 64%, 69%)
CMYKcmyk(0%, 63.6%, 20.5%, 31%)
CIE-LABlab(45.35, 53.65, -18.90)
CIE-LCHlch(45.35, 56.88, 340.60°)
OKLaboklab(55.1% 0.1605 -0.0505)
OKLCHoklch(55.1% 0.168 342.5)
XYZxyz(24.4722, 14.7926, 26.3723)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0408C #40B064
analogous
#9C40B0 #B0408C #B04054
triadic
#B0408C #8CB040 #408CB0
tetradic
#B0408C #B09C40 #40B064 #4054B0
square
#B0408C #B09C40 #40B064 #4054B0
split-complementary
#B0408C #54B040 #40B09C
monochromatic
#561F45 #833068 #B0408C #C766A8 #D893C2

Accessibility & contrast

On white

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

On black

3.96
#B0408C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B0408C#FFFFFF#000000##FFFFFF
##B0408C1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49608E
Deuteranopia (green-blind)
#6A7289
Tritanopia (blue-blind)
#BB4160
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b0408c;
/* rgb */ color: rgb(176, 64, 140);
/* oklch */ color: oklch(55.1% 0.168 342.5);
Tailwind
colors: {
  custom: {
    50: '#cb7cad',
    500: '#b0408c',
    950: '#000000',
  },
}
SCSS
$custom: #b0408c;
$custom-light: #cb7cad;
$custom-dark: #000000;
JSON
{
  "hex": "#b0408c",
  "rgb": {
    "r": 176,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 319.286,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55095,
    "c": 0.16822,
    "h": 342.5
  },
  "luminance": 0.1479
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B0408C

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

Preview Lab → · Contrast checker → · Palette generator →

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