#B2428E#B2428E

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

Color values

HEX#B2428E
RGBrgb(178, 66, 142)
HSLhsl(319, 46%, 48%)
HSVhsv(319, 63%, 70%)
CMYKcmyk(0%, 62.9%, 20.2%, 30.2%)
CIE-LABlab(46.06, 53.65, -18.98)
CIE-LCHlch(46.06, 56.91, 340.52°)
OKLaboklab(55.71% 0.1604 -0.0507)
OKLCHoklch(55.71% 0.168 342.4)
XYZxyz(25.1915, 15.3167, 27.2156)
Luminance0.1531 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2428E #42B266
analogous
#9E42B2 #B2428E #B24256
triadic
#B2428E #8EB242 #428EB2
tetradic
#B2428E #B29E42 #42B266 #4256B2
square
#B2428E #B29E42 #42B266 #4256B2
split-complementary
#B2428E #56B242 #42B29E
monochromatic
#592147 #85316A #B2428E #C86AA9 #D896C3

Accessibility & contrast

On white

5.17
#B2428E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B2428E
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2428E#FFFFFF#000000##FFFFFF
##B2428E1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6190
Deuteranopia (green-blind)
#6C748B
Tritanopia (blue-blind)
#BD4362
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b2428e;
/* rgb */ color: rgb(178, 66, 142);
/* oklch */ color: oklch(55.7% 0.168 342.4);
Tailwind
colors: {
  custom: {
    50: '#cc7daf',
    500: '#b2428e',
    950: '#000000',
  },
}
SCSS
$custom: #b2428e;
$custom-light: #cc7daf;
$custom-dark: #000000;
JSON
{
  "hex": "#b2428e",
  "rgb": {
    "r": 178,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 319.286,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55711,
    "c": 0.16818,
    "h": 342.4
  },
  "luminance": 0.15314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2428E

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

Preview Lab → · Contrast checker → · Palette generator →

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