#B0428B#B0428B

#B0428B is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.3% C 0.165 H 343.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B0428B
RGBrgb(176, 66, 139)
HSLhsl(320, 45%, 47%)
HSVhsv(320, 63%, 69%)
CMYKcmyk(0%, 62.5%, 21%, 31%)
CIE-LABlab(45.62, 52.65, -17.87)
CIE-LCHlch(45.62, 55.60, 341.25°)
OKLaboklab(55.29% 0.1576 -0.0477)
OKLCHoklch(55.29% 0.165 343.2)
XYZxyz(24.5136, 14.9929, 26.0240)
Luminance0.1499 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0428B #42B067
analogous
#9E42B0 #B0428B #B04254
triadic
#B0428B #8BB042 #428BB0
tetradic
#B0428B #B09E42 #42B067 #4254B0
square
#B0428B #B09E42 #42B067 #4254B0
split-complementary
#B0428B #54B042 #42B09E
monochromatic
#572145 #833168 #B0428B #C769A7 #D795C1

Accessibility & contrast

On white

5.25
#B0428B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B0428B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0428B
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0428B#FFFFFF#000000##FFFFFF
##B0428B1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608D
Deuteranopia (green-blind)
#6B7388
Tritanopia (blue-blind)
#BB4260
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b0428b;
/* rgb */ color: rgb(176, 66, 139);
/* oklch */ color: oklch(55.3% 0.165 343.2);
Tailwind
colors: {
  custom: {
    50: '#cb7dad',
    500: '#b0428b',
    950: '#000000',
  },
}
SCSS
$custom: #b0428b;
$custom-light: #cb7dad;
$custom-dark: #000000;
JSON
{
  "hex": "#b0428b",
  "rgb": {
    "r": 176,
    "g": 66,
    "b": 139
  },
  "hsl": {
    "h": 320.182,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55285,
    "c": 0.16465,
    "h": 343.2
  },
  "luminance": 0.14991
}

Semantic roles & 50–950 ramp

primary
#B0428B
secondary
#8BC39E
accent
#D57F53
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #B0428B

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

Preview Lab → · Contrast checker → · Palette generator →

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