#B42595#B42595

#B42595 is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.7% C 0.209 H 338.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B42595
RGBrgb(180, 37, 149)
HSLhsl(313, 66%, 43%)
HSVhsv(313, 79%, 71%)
CMYKcmyk(0%, 79.4%, 17.2%, 29.4%)
CIE-LABlab(43.06, 65.40, -27.82)
CIE-LCHlch(43.06, 71.07, 336.95°)
OKLaboklab(53.69% 0.1945 -0.0755)
OKLCHoklch(53.69% 0.209 338.8)
XYZxyz(24.9094, 13.1988, 29.6637)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42595 #25B444
analogous
#8C25B4 #B42595 #B4254D
triadic
#B42595 #95B425 #2595B4
tetradic
#B42595 #B48C25 #25B444 #254DB4
square
#B42595 #B48C25 #25B444 #254DB4
split-complementary
#B42595 #4DB425 #25B48C
monochromatic
#4E1041 #811B6B #B42595 #D73FB6 #E271CA

Accessibility & contrast

On white

5.77
#B42595 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B42595 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42595
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42595#FFFFFF#000000##FFFFFF
##B425951.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5898
Deuteranopia (green-blind)
#5F6E92
Tritanopia (blue-blind)
#BE2D5C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42595;
/* rgb */ color: rgb(180, 37, 149);
/* oklch */ color: oklch(53.7% 0.209 338.8);
Tailwind
colors: {
  custom: {
    50: '#cf71b4',
    500: '#b42595',
    950: '#000000',
  },
}
SCSS
$custom: #b42595;
$custom-light: #cf71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b42595",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 313.007,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53691,
    "c": 0.2086,
    "h": 338.8
  },
  "luminance": 0.13196
}

Semantic roles & 50–950 ramp

primary
#B42595
secondary
#6CC980
accent
#E9643F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42595

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

Preview Lab → · Contrast checker → · Palette generator →

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