#B2408D#B2408D

#B2408D is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.4% C 0.170 H 342.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B2408D
RGBrgb(178, 64, 141)
HSLhsl(319, 47%, 47%)
HSVhsv(319, 64%, 70%)
CMYKcmyk(0%, 64%, 20.8%, 30.2%)
CIE-LABlab(45.71, 54.37, -18.91)
CIE-LCHlch(45.71, 57.56, 340.82°)
OKLaboklab(55.44% 0.1627 -0.0505)
OKLCHoklch(55.44% 0.17 342.7)
XYZxyz(25.0019, 15.0572, 26.7837)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2408D #40B265
analogous
#9E40B2 #B2408D #B24054
triadic
#B2408D #8DB240 #408DB2
tetradic
#B2408D #B29E40 #40B265 #4054B2
square
#B2408D #B29E40 #40B265 #4054B2
split-complementary
#B2408D #54B240 #40B29E
monochromatic
#582046 #853069 #B2408D #C867A9 #D894C2

Accessibility & contrast

On white

5.24
#B2408D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B2408D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2408D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2408D#FFFFFF#000000##FFFFFF
##B2408D1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49608F
Deuteranopia (green-blind)
#6B738A
Tritanopia (blue-blind)
#BD4161
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b2408d;
/* rgb */ color: rgb(178, 64, 141);
/* oklch */ color: oklch(55.4% 0.170 342.7);
Tailwind
colors: {
  custom: {
    50: '#cc7cae',
    500: '#b2408d',
    950: '#000000',
  },
}
SCSS
$custom: #b2408d;
$custom-light: #cc7cae;
$custom-dark: #000000;
JSON
{
  "hex": "#b2408d",
  "rgb": {
    "r": 178,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 319.474,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55438,
    "c": 0.17039,
    "h": 342.7
  },
  "luminance": 0.15055
}

Semantic roles & 50–950 ramp

primary
#B2408D
secondary
#8AC49D
accent
#D77C51
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #B2408D

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

Preview Lab → · Contrast checker → · Palette generator →

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