#B2408C#B2408C

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

Color values

HEX#B2408C
RGBrgb(178, 64, 140)
HSLhsl(320, 47%, 47%)
HSVhsv(320, 64%, 70%)
CMYKcmyk(0%, 64%, 21.3%, 30.2%)
CIE-LABlab(45.67, 54.22, -18.37)
CIE-LCHlch(45.67, 57.25, 341.28°)
OKLaboklab(55.4% 0.1625 -0.049)
OKLCHoklch(55.4% 0.17 343.2)
XYZxyz(24.9279, 15.0276, 26.3936)
Luminance0.1502 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2408C #40B266
analogous
#9F40B2 #B2408C #B24053
triadic
#B2408C #8CB240 #408CB2
tetradic
#B2408C #B29F40 #40B266 #4053B2
square
#B2408C #B29F40 #40B266 #4053B2
split-complementary
#B2408C #53B240 #40B29F
monochromatic
#582045 #853069 #B2408C #C867A8 #D894C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2408C#FFFFFF#000000##FFFFFF
##B2408C1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2408c;
/* rgb */ color: rgb(178, 64, 140);
/* oklch */ color: oklch(55.4% 0.170 343.2);
Tailwind
colors: {
  custom: {
    50: '#cc7cad',
    500: '#b2408c',
    950: '#000000',
  },
}
SCSS
$custom: #b2408c;
$custom-light: #cc7cad;
$custom-dark: #000000;
JSON
{
  "hex": "#b2408c",
  "rgb": {
    "r": 178,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 320,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55395,
    "c": 0.16974,
    "h": 343.2
  },
  "luminance": 0.15025
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2408C

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

Preview Lab → · Contrast checker → · Palette generator →

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