#B5428F#B5428F

#B5428F is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.2% C 0.171 H 343.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B5428F
RGBrgb(181, 66, 143)
HSLhsl(320, 47%, 48%)
HSVhsv(320, 64%, 71%)
CMYKcmyk(0%, 63.5%, 21%, 29%)
CIE-LABlab(46.59, 54.65, -18.74)
CIE-LCHlch(46.59, 57.78, 341.08°)
OKLaboklab(56.2% 0.1637 -0.05)
OKLCHoklch(56.2% 0.171 343)
XYZxyz(25.9630, 15.7058, 27.6454)
Luminance0.1570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5428F #42B568
analogous
#A142B5 #B5428F #B54255
triadic
#B5428F #8FB542 #428FB5
tetradic
#B5428F #B5A142 #42B568 #4255B5
square
#B5428F #B5A142 #42B568 #4255B5
split-complementary
#B5428F #55B542 #42B5A1
monochromatic
#5B2148 #88326C #B5428F #C96BAA #D998C4

Accessibility & contrast

On white

5.07
#B5428F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B5428F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5428F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5428F#FFFFFF#000000##FFFFFF
##B5428F1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6291
Deuteranopia (green-blind)
#6D758C
Tritanopia (blue-blind)
#C04262
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b5428f;
/* rgb */ color: rgb(181, 66, 143);
/* oklch */ color: oklch(56.2% 0.171 343.0);
Tailwind
colors: {
  custom: {
    50: '#ce7eb0',
    500: '#b5428f',
    950: '#000000',
  },
}
SCSS
$custom: #b5428f;
$custom-light: #ce7eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#b5428f",
  "rgb": {
    "r": 181,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 319.826,
    "s": 46.559,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56201,
    "c": 0.17114,
    "h": 343
  },
  "luminance": 0.15703
}

Semantic roles & 50–950 ramp

primary
#B5428F
secondary
#8EC5A0
accent
#D67D52
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B5428F

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

Preview Lab → · Contrast checker → · Palette generator →

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