#B42E93#B42E93

#B42E93 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.3% C 0.198 H 339.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B42E93
RGBrgb(180, 46, 147)
HSLhsl(315, 59%, 44%)
HSVhsv(315, 74%, 71%)
CMYKcmyk(0%, 74.4%, 18.3%, 29.4%)
CIE-LABlab(43.90, 62.47, -25.31)
CIE-LCHlch(43.90, 67.41, 337.94°)
OKLaboklab(54.26% 0.1862 -0.0684)
OKLCHoklch(54.26% 0.198 339.8)
XYZxyz(25.0665, 13.7663, 28.9351)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E93 #2EB44F
analogous
#922EB4 #B42E93 #B42E50
triadic
#B42E93 #93B42E #2E93B4
tetradic
#B42E93 #B4922E #2EB44F #2E50B4
square
#B42E93 #B4922E #2EB44F #2E50B4
split-complementary
#B42E93 #50B42E #2EB492
monochromatic
#531543 #83226B #B42E93 #D24EB1 #DE7EC7

Accessibility & contrast

On white

5.60
#B42E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#B42E93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E93
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E93#FFFFFF#000000##FFFFFF
##B42E931.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375A96
Deuteranopia (green-blind)
#636F90
Tritanopia (blue-blind)
#BF335D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b42e93;
/* rgb */ color: rgb(180, 46, 147);
/* oklch */ color: oklch(54.3% 0.198 339.8);
Tailwind
colors: {
  custom: {
    50: '#ce74b3',
    500: '#b42e93',
    950: '#000000',
  },
}
SCSS
$custom: #b42e93;
$custom-light: #ce74b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e93",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 314.776,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54263,
    "c": 0.19836,
    "h": 339.8
  },
  "luminance": 0.13764
}

Semantic roles & 50–950 ramp

primary
#B42E93
secondary
#77C78B
accent
#E26C45
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42E93

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

Preview Lab → · Contrast checker → · Palette generator →

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