#B2428A#B2428A

#B2428A is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.5% C 0.166 H 344.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B2428A
RGBrgb(178, 66, 138)
HSLhsl(321, 46%, 48%)
HSVhsv(321, 63%, 70%)
CMYKcmyk(0%, 62.9%, 22.5%, 30.2%)
CIE-LABlab(45.91, 53.08, -16.81)
CIE-LCHlch(45.91, 55.68, 342.43°)
OKLaboklab(55.54% 0.1594 -0.0447)
OKLCHoklch(55.54% 0.166 344.3)
XYZxyz(24.8965, 15.1987, 25.6623)
Luminance0.1520 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2428A #42B26A
analogous
#A242B2 #B2428A #B24252
triadic
#B2428A #8AB242 #428AB2
tetradic
#B2428A #B2A242 #42B26A #4252B2
square
#B2428A #B2A242 #42B26A #4252B2
split-complementary
#B2428A #52B242 #42B2A2
monochromatic
#592145 #853167 #B2428A #C86AA6 #D896C1

Accessibility & contrast

On white

5.20
#B2428A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B2428A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2428A
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2428A#FFFFFF#000000##FFFFFF
##B2428A1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C618C
Deuteranopia (green-blind)
#6D7487
Tritanopia (blue-blind)
#BD4160
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b2428a;
/* rgb */ color: rgb(178, 66, 138);
/* oklch */ color: oklch(55.5% 0.166 344.3);
Tailwind
colors: {
  custom: {
    50: '#cc7dac',
    500: '#b2428a',
    950: '#000000',
  },
}
SCSS
$custom: #b2428a;
$custom-light: #cc7dac;
$custom-dark: #000000;
JSON
{
  "hex": "#b2428a",
  "rgb": {
    "r": 178,
    "g": 66,
    "b": 138
  },
  "hsl": {
    "h": 321.429,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55541,
    "c": 0.16558,
    "h": 344.3
  },
  "luminance": 0.15196
}

Semantic roles & 50–950 ramp

primary
#B2428A
secondary
#8CC4A0
accent
#D68152
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #B2428A

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

Preview Lab → · Contrast checker → · Palette generator →

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