#B2408F#B2408F

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

Color values

HEX#B2408F
RGBrgb(178, 64, 143)
HSLhsl(318, 47%, 47%)
HSVhsv(318, 64%, 70%)
CMYKcmyk(0%, 64%, 19.7%, 30.2%)
CIE-LABlab(45.79, 54.65, -19.99)
CIE-LCHlch(45.79, 58.19, 339.91°)
OKLaboklab(55.53% 0.1632 -0.0536)
OKLCHoklch(55.53% 0.172 341.8)
XYZxyz(25.1521, 15.1173, 27.5745)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2408F #40B263
analogous
#9C40B2 #B2408F #B24056
triadic
#B2408F #8FB240 #408FB2
tetradic
#B2408F #B29C40 #40B263 #4056B2
square
#B2408F #B29C40 #40B263 #4056B2
split-complementary
#B2408F #56B240 #40B29C
monochromatic
#582047 #85306B #B2408F #C867AA #D894C3

Accessibility & contrast

On white

5.22
#B2408F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B2408F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2408F#FFFFFF#000000##FFFFFF
##B2408F1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486191
Deuteranopia (green-blind)
#6A738C
Tritanopia (blue-blind)
#BD4162
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b2408f;
/* rgb */ color: rgb(178, 64, 143);
/* oklch */ color: oklch(55.5% 0.172 341.8);
Tailwind
colors: {
  custom: {
    50: '#cc7cb0',
    500: '#b2408f',
    950: '#000000',
  },
}
SCSS
$custom: #b2408f;
$custom-light: #cc7cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#b2408f",
  "rgb": {
    "r": 178,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 318.421,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55525,
    "c": 0.17172,
    "h": 341.8
  },
  "luminance": 0.15115
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2408F

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

Preview Lab → · Contrast checker → · Palette generator →

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