#B1408E#B1408E

#B1408E is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.3% C 0.170 H 341.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B1408E
RGBrgb(177, 64, 142)
HSLhsl(319, 47%, 47%)
HSVhsv(319, 64%, 69%)
CMYKcmyk(0%, 63.8%, 19.8%, 30.6%)
CIE-LABlab(45.59, 54.23, -19.72)
CIE-LCHlch(45.59, 57.70, 340.02°)
OKLaboklab(55.33% 0.1619 -0.0528)
OKLCHoklch(55.33% 0.17 341.9)
XYZxyz(24.8480, 14.9692, 27.1666)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1408E #40B163
analogous
#9C40B1 #B1408E #B14056
triadic
#B1408E #8EB140 #408EB1
tetradic
#B1408E #B19C40 #40B163 #4056B1
square
#B1408E #B19C40 #40B163 #4056B1
split-complementary
#B1408E #56B140 #40B19C
monochromatic
#571F46 #84306A #B1408E #C866AA #D893C3

Accessibility & contrast

On white

5.26
#B1408E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B1408E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1408E
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1408E#FFFFFF#000000##FFFFFF
##B1408E1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486090
Deuteranopia (green-blind)
#6A738B
Tritanopia (blue-blind)
#BB4161
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b1408e;
/* rgb */ color: rgb(177, 64, 142);
/* oklch */ color: oklch(55.3% 0.170 341.9);
Tailwind
colors: {
  custom: {
    50: '#cc7caf',
    500: '#b1408e',
    950: '#000000',
  },
}
SCSS
$custom: #b1408e;
$custom-light: #cc7caf;
$custom-dark: #000000;
JSON
{
  "hex": "#b1408e",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 318.584,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55332,
    "c": 0.1703,
    "h": 341.9
  },
  "luminance": 0.14967
}

Semantic roles & 50–950 ramp

primary
#B1408E
secondary
#89C39B
accent
#D77B51
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #B1408E

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

Preview Lab → · Contrast checker → · Palette generator →

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