#B2408E#B2408E

#B2408E is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.5% C 0.171 H 342.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B2408E
RGBrgb(178, 64, 142)
HSLhsl(319, 47%, 47%)
HSVhsv(319, 64%, 70%)
CMYKcmyk(0%, 64%, 20.2%, 30.2%)
CIE-LABlab(45.75, 54.51, -19.45)
CIE-LCHlch(45.75, 57.88, 340.36°)
OKLaboklab(55.48% 0.1629 -0.052)
OKLCHoklch(55.48% 0.171 342.3)
XYZxyz(25.0767, 15.0871, 27.1774)
Luminance0.1509 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2408E #40B264
analogous
#9D40B2 #B2408E #B24055
triadic
#B2408E #8EB240 #408EB2
tetradic
#B2408E #B29D40 #40B264 #4055B2
square
#B2408E #B29D40 #40B264 #4055B2
split-complementary
#B2408E #55B240 #40B29D
monochromatic
#582046 #85306A #B2408E #C867AA #D894C3

Accessibility & contrast

On white

5.23
#B2408E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B2408E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2408E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2408E#FFFFFF#000000##FFFFFF
##B2408E1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496090
Deuteranopia (green-blind)
#6B738B
Tritanopia (blue-blind)
#BD4161
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b2408e;
/* rgb */ color: rgb(178, 64, 142);
/* oklch */ color: oklch(55.5% 0.171 342.3);
Tailwind
colors: {
  custom: {
    50: '#cc7caf',
    500: '#b2408e',
    950: '#000000',
  },
}
SCSS
$custom: #b2408e;
$custom-light: #cc7caf;
$custom-dark: #000000;
JSON
{
  "hex": "#b2408e",
  "rgb": {
    "r": 178,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 318.947,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55482,
    "c": 0.17105,
    "h": 342.3
  },
  "luminance": 0.15085
}

Semantic roles & 50–950 ramp

primary
#B2408E
secondary
#8AC49C
accent
#D77B51
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #B2408E

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

Preview Lab → · Contrast checker → · Palette generator →

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