#B42C93#B42C93

#B42C93 is a mid, highly saturated pink. Relative luminance 0.136; OKLCH L 54.1% C 0.200 H 339.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B42C93
RGBrgb(180, 44, 147)
HSLhsl(315, 61%, 44%)
HSVhsv(315, 76%, 71%)
CMYKcmyk(0%, 75.6%, 18.3%, 29.4%)
CIE-LABlab(43.67, 63.10, -25.66)
CIE-LCHlch(43.67, 68.12, 337.87°)
OKLaboklab(54.1% 0.1881 -0.0694)
OKLCHoklch(54.1% 0.2 339.8)
XYZxyz(24.9902, 13.6137, 28.9097)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42C93 #2CB44D
analogous
#912CB4 #B42C93 #B42C4F
triadic
#B42C93 #93B42C #2C93B4
tetradic
#B42C93 #B4912C #2CB44D #2C4FB4
square
#B42C93 #B4912C #2CB44D #2C4FB4
split-complementary
#B42C93 #4FB42C #2CB491
monochromatic
#521443 #83206B #B42C93 #D34AB2 #DF7CC7

Accessibility & contrast

On white

5.64
#B42C93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B42C93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42C93
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42C93#FFFFFF#000000##FFFFFF
##B42C931.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355996
Deuteranopia (green-blind)
#626F90
Tritanopia (blue-blind)
#BF315D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b42c93;
/* rgb */ color: rgb(180, 44, 147);
/* oklch */ color: oklch(54.1% 0.200 339.8);
Tailwind
colors: {
  custom: {
    50: '#ce73b3',
    500: '#b42c93',
    950: '#000000',
  },
}
SCSS
$custom: #b42c93;
$custom-light: #ce73b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b42c93",
  "rgb": {
    "r": 180,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 314.559,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54102,
    "c": 0.20049,
    "h": 339.8
  },
  "luminance": 0.13611
}

Semantic roles & 50–950 ramp

primary
#B42C93
secondary
#75C789
accent
#E46B44
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42C93

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

Preview Lab → · Contrast checker → · Palette generator →

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