#B42F8A#B42F8A

#B42F8A is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.9% C 0.192 H 343.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B42F8A
RGBrgb(180, 47, 138)
HSLhsl(319, 59%, 45%)
HSVhsv(319, 74%, 71%)
CMYKcmyk(0%, 73.9%, 23.3%, 29.4%)
CIE-LABlab(43.62, 60.93, -20.29)
CIE-LCHlch(43.62, 64.22, 341.58°)
OKLaboklab(53.93% 0.1838 -0.0542)
OKLCHoklch(53.93% 0.192 343.6)
XYZxyz(24.4273, 13.5739, 25.3734)
Luminance0.1357 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F8A #2FB459
analogous
#9B2FB4 #B42F8A #B42F48
triadic
#B42F8A #8AB42F #2F8AB4
tetradic
#B42F8A #B49B2F #2FB459 #2F48B4
square
#B42F8A #B49B2F #2FB459 #2F48B4
split-complementary
#B42F8A #48B42F #2FB49B
monochromatic
#531640 #832265 #B42F8A #D14FA8 #DE80C0

Accessibility & contrast

On white

5.65
#B42F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B42F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F8A
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F8A#FFFFFF#000000##FFFFFF
##B42F8A1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598C
Deuteranopia (green-blind)
#666F87
Tritanopia (blue-blind)
#C02F59
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b42f8a;
/* rgb */ color: rgb(180, 47, 138);
/* oklch */ color: oklch(53.9% 0.192 343.6);
Tailwind
colors: {
  custom: {
    50: '#ce74ac',
    500: '#b42f8a',
    950: '#000000',
  },
}
SCSS
$custom: #b42f8a;
$custom-light: #ce74ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f8a",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 318.947,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5393,
    "c": 0.19159,
    "h": 343.6
  },
  "luminance": 0.13571
}

Semantic roles & 50–950 ramp

primary
#B42F8A
secondary
#78C791
accent
#E27746
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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