#B2408B#B2408B

#B2408B is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.4% C 0.169 H 343.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B2408B
RGBrgb(178, 64, 139)
HSLhsl(321, 47%, 47%)
HSVhsv(321, 64%, 70%)
CMYKcmyk(0%, 64%, 21.9%, 30.2%)
CIE-LABlab(45.63, 54.08, -17.83)
CIE-LCHlch(45.63, 56.95, 341.75°)
OKLaboklab(55.35% 0.1623 -0.0475)
OKLCHoklch(55.35% 0.169 343.7)
XYZxyz(24.8545, 14.9982, 26.0071)
Luminance0.1500 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2408B #40B267
analogous
#A040B2 #B2408B #B24052
triadic
#B2408B #8BB240 #408BB2
tetradic
#B2408B #B2A040 #40B267 #4052B2
square
#B2408B #B2A040 #40B267 #4052B2
split-complementary
#B2408B #52B240 #40B2A0
monochromatic
#582045 #853068 #B2408B #C867A7 #D894C1

Accessibility & contrast

On white

5.25
#B2408B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B2408B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2408B
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2408B#FFFFFF#000000##FFFFFF
##B2408B1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A608D
Deuteranopia (green-blind)
#6C7388
Tritanopia (blue-blind)
#BD4060
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b2408b;
/* rgb */ color: rgb(178, 64, 139);
/* oklch */ color: oklch(55.4% 0.169 343.7);
Tailwind
colors: {
  custom: {
    50: '#cc7cad',
    500: '#b2408b',
    950: '#000000',
  },
}
SCSS
$custom: #b2408b;
$custom-light: #cc7cad;
$custom-dark: #000000;
JSON
{
  "hex": "#b2408b",
  "rgb": {
    "r": 178,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 320.526,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55353,
    "c": 0.16909,
    "h": 343.7
  },
  "luminance": 0.14996
}

Semantic roles & 50–950 ramp

primary
#B2408B
secondary
#8AC49E
accent
#D77F51
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B2408B

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

Preview Lab → · Contrast checker → · Palette generator →

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