#B42795#B42795

#B42795 is a mid, highly saturated pink. Relative luminance 0.133; OKLCH L 53.8% C 0.207 H 338.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B42795
RGBrgb(180, 39, 149)
HSLhsl(313, 64%, 43%)
HSVhsv(313, 78%, 71%)
CMYKcmyk(0%, 78.3%, 17.2%, 29.4%)
CIE-LABlab(43.25, 64.85, -27.53)
CIE-LCHlch(43.25, 70.45, 337.00°)
OKLaboklab(53.83% 0.1928 -0.0746)
OKLCHoklch(53.83% 0.207 338.8)
XYZxyz(24.9734, 13.3267, 29.6850)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42795 #27B446
analogous
#8C27B4 #B42795 #B4274F
triadic
#B42795 #95B427 #2795B4
tetradic
#B42795 #B48C27 #27B446 #274FB4
square
#B42795 #B48C27 #27B446 #274FB4
split-complementary
#B42795 #4FB427 #27B48C
monochromatic
#4F1142 #821C6B #B42795 #D642B6 #E174C9

Accessibility & contrast

On white

5.73
#B42795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B42795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42795
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42795#FFFFFF#000000##FFFFFF
##B427951.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305898
Deuteranopia (green-blind)
#606E92
Tritanopia (blue-blind)
#BE2E5C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42795;
/* rgb */ color: rgb(180, 39, 149);
/* oklch */ color: oklch(53.8% 0.207 338.8);
Tailwind
colors: {
  custom: {
    50: '#cf71b4',
    500: '#b42795',
    950: '#000000',
  },
}
SCSS
$custom: #b42795;
$custom-light: #cf71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b42795",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 313.191,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53828,
    "c": 0.20675,
    "h": 338.8
  },
  "luminance": 0.13324
}

Semantic roles & 50–950 ramp

primary
#B42795
secondary
#6FC882
accent
#E76540
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42795

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

Preview Lab → · Contrast checker → · Palette generator →

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