#B2428D#B2428D

#B2428D is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.7% C 0.168 H 342.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B2428D
RGBrgb(178, 66, 141)
HSLhsl(320, 46%, 48%)
HSVhsv(320, 63%, 70%)
CMYKcmyk(0%, 62.9%, 20.8%, 30.2%)
CIE-LABlab(46.02, 53.51, -18.43)
CIE-LCHlch(46.02, 56.60, 340.99°)
OKLaboklab(55.67% 0.1601 -0.0492)
OKLCHoklch(55.67% 0.168 342.9)
XYZxyz(25.1167, 15.2868, 26.8220)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2428D #42B267
analogous
#9F42B2 #B2428D #B24255
triadic
#B2428D #8DB242 #428DB2
tetradic
#B2428D #B29F42 #42B267 #4255B2
square
#B2428D #B29F42 #42B267 #4255B2
split-complementary
#B2428D #55B242 #42B29F
monochromatic
#592146 #85316A #B2428D #C86AA9 #D896C2

Accessibility & contrast

On white

5.18
#B2428D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B2428D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2428D
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2428D#FFFFFF#000000##FFFFFF
##B2428D1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B618F
Deuteranopia (green-blind)
#6C748A
Tritanopia (blue-blind)
#BD4261
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b2428d;
/* rgb */ color: rgb(178, 66, 141);
/* oklch */ color: oklch(55.7% 0.168 342.9);
Tailwind
colors: {
  custom: {
    50: '#cc7dae',
    500: '#b2428d',
    950: '#000000',
  },
}
SCSS
$custom: #b2428d;
$custom-light: #cc7dae;
$custom-dark: #000000;
JSON
{
  "hex": "#b2428d",
  "rgb": {
    "r": 178,
    "g": 66,
    "b": 141
  },
  "hsl": {
    "h": 319.821,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55668,
    "c": 0.16752,
    "h": 342.9
  },
  "luminance": 0.15284
}

Semantic roles & 50–950 ramp

primary
#B2428D
secondary
#8CC49E
accent
#D67E52
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #B2428D

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

Preview Lab → · Contrast checker → · Palette generator →

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