#B42E85#B42E85

#B42E85 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.6% C 0.190 H 345.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B42E85
RGBrgb(180, 46, 133)
HSLhsl(321, 59%, 44%)
HSVhsv(321, 74%, 71%)
CMYKcmyk(0%, 74.4%, 26.1%, 29.4%)
CIE-LABlab(43.29, 60.61, -17.74)
CIE-LCHlch(43.29, 63.16, 343.69°)
OKLaboklab(53.63% 0.1838 -0.0471)
OKLCHoklch(53.63% 0.19 345.6)
XYZxyz(24.0341, 13.3534, 23.4975)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E85 #2EB45D
analogous
#A02EB4 #B42E85 #B42E42
triadic
#B42E85 #85B42E #2E85B4
tetradic
#B42E85 #B4A02E #2EB45D #2E42B4
square
#B42E85 #B4A02E #2EB45D #2E42B4
split-complementary
#B42E85 #42B42E #2EB4A0
monochromatic
#53153D #832261 #B42E85 #D24EA3 #DE7EBD

Accessibility & contrast

On white

5.72
#B42E85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B42E85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E85
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E85#FFFFFF#000000##FFFFFF
##B42E851.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5887
Deuteranopia (green-blind)
#686E82
Tritanopia (blue-blind)
#C02B56
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42e85;
/* rgb */ color: rgb(180, 46, 133);
/* oklch */ color: oklch(53.6% 0.190 345.6);
Tailwind
colors: {
  custom: {
    50: '#cf74a8',
    500: '#b42e85',
    950: '#000000',
  },
}
SCSS
$custom: #b42e85;
$custom-light: #cf74a8;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e85",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 321.045,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53626,
    "c": 0.18973,
    "h": 345.6
  },
  "luminance": 0.13351
}

Semantic roles & 50–950 ramp

primary
#B42E85
secondary
#77C793
accent
#E27C45
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B42E85

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

Preview Lab → · Contrast checker → · Palette generator →

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