#B2428F#B2428F

#B2428F is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.8% C 0.169 H 342.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B2428F
RGBrgb(178, 66, 143)
HSLhsl(319, 46%, 48%)
HSVhsv(319, 63%, 70%)
CMYKcmyk(0%, 62.9%, 19.7%, 30.2%)
CIE-LABlab(46.11, 53.80, -19.52)
CIE-LCHlch(46.11, 57.23, 340.06°)
OKLaboklab(55.75% 0.1606 -0.0522)
OKLCHoklch(55.75% 0.169 342)
XYZxyz(25.2669, 15.3469, 27.6128)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2428F #42B265
analogous
#9D42B2 #B2428F #B24257
triadic
#B2428F #8FB242 #428FB2
tetradic
#B2428F #B29D42 #42B265 #4257B2
square
#B2428F #B29D42 #42B265 #4257B2
split-complementary
#B2428F #57B242 #42B29D
monochromatic
#592147 #85316B #B2428F #C86AAA #D896C4

Accessibility & contrast

On white

5.16
#B2428F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B2428F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2428F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2428F#FFFFFF#000000##FFFFFF
##B2428F1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6291
Deuteranopia (green-blind)
#6B748C
Tritanopia (blue-blind)
#BC4362
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b2428f;
/* rgb */ color: rgb(178, 66, 143);
/* oklch */ color: oklch(55.8% 0.169 342.0);
Tailwind
colors: {
  custom: {
    50: '#cc7db0',
    500: '#b2428f',
    950: '#000000',
  },
}
SCSS
$custom: #b2428f;
$custom-light: #cc7db0;
$custom-dark: #000000;
JSON
{
  "hex": "#b2428f",
  "rgb": {
    "r": 178,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 318.75,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55754,
    "c": 0.16884,
    "h": 342
  },
  "luminance": 0.15345
}

Semantic roles & 50–950 ramp

primary
#B2428F
secondary
#8CC49D
accent
#D67B52
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #B2428F

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

Preview Lab → · Contrast checker → · Palette generator →

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