#B42B8F#B42B8F

#B42B8F is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.8% C 0.199 H 341.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B42B8F
RGBrgb(180, 43, 143)
HSLhsl(316, 61%, 44%)
HSVhsv(316, 76%, 71%)
CMYKcmyk(0%, 76.1%, 20.6%, 29.4%)
CIE-LABlab(43.38, 62.87, -23.69)
CIE-LCHlch(43.38, 67.18, 339.36°)
OKLaboklab(53.83% 0.1885 -0.0638)
OKLCHoklch(53.83% 0.199 341.3)
XYZxyz(24.6450, 13.4167, 27.2731)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42B8F #2BB450
analogous
#942BB4 #B42B8F #B42B4B
triadic
#B42B8F #8FB42B #2B8FB4
tetradic
#B42B8F #B4942B #2BB450 #2B4BB4
square
#B42B8F #B4942B #2BB450 #2B4BB4
split-complementary
#B42B8F #4BB42B #2BB494
monochromatic
#511341 #831F68 #B42B8F #D349AE #DF7AC4

Accessibility & contrast

On white

5.70
#B42B8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B42B8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42B8F
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42B8F#FFFFFF#000000##FFFFFF
##B42B8F1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375892
Deuteranopia (green-blind)
#636E8C
Tritanopia (blue-blind)
#BF2E5A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42b8f;
/* rgb */ color: rgb(180, 43, 143);
/* oklch */ color: oklch(53.8% 0.199 341.3);
Tailwind
colors: {
  custom: {
    50: '#cf73b0',
    500: '#b42b8f',
    950: '#000000',
  },
}
SCSS
$custom: #b42b8f;
$custom-light: #cf73b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b42b8f",
  "rgb": {
    "r": 180,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 316.204,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53834,
    "c": 0.19898,
    "h": 341.3
  },
  "luminance": 0.13414
}

Semantic roles & 50–950 ramp

primary
#B42B8F
secondary
#73C78A
accent
#E56F43
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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