#B42095#B42095

#B42095 is a mid, highly saturated pink. Relative luminance 0.129; OKLCH L 53.4% C 0.213 H 338.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B42095
RGBrgb(180, 32, 149)
HSLhsl(313, 70%, 42%)
HSVhsv(313, 82%, 71%)
CMYKcmyk(0%, 82.2%, 17.2%, 29.4%)
CIE-LABlab(42.63, 66.65, -28.50)
CIE-LCHlch(42.63, 72.49, 336.85°)
OKLaboklab(53.38% 0.1983 -0.0774)
OKLCHoklch(53.38% 0.213 338.7)
XYZxyz(24.7644, 12.9088, 29.6154)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42095 #20B43F
analogous
#8920B4 #B42095 #B4204B
triadic
#B42095 #95B420 #2095B4
tetradic
#B42095 #B48920 #20B43F #204BB4
square
#B42095 #B48920 #20B43F #204BB4
split-complementary
#B42095 #4BB420 #20B489
monochromatic
#4C0E3F #80176A #B42095 #DB36B9 #E46ACB

Accessibility & contrast

On white

5.86
#B42095 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B42095 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42095
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42095#FFFFFF#000000##FFFFFF
##B420951.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5698
Deuteranopia (green-blind)
#5E6D92
Tritanopia (blue-blind)
#BF295B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42095;
/* rgb */ color: rgb(180, 32, 149);
/* oklch */ color: oklch(53.4% 0.213 338.7);
Tailwind
colors: {
  custom: {
    50: '#cf6fb4',
    500: '#b42095',
    950: '#000000',
  },
}
SCSS
$custom: #b42095;
$custom-light: #cf6fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#b42095",
  "rgb": {
    "r": 180,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 312.568,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53378,
    "c": 0.21283,
    "h": 338.7
  },
  "luminance": 0.12906
}

Semantic roles & 50–950 ramp

primary
#B42095
secondary
#66CA7B
accent
#ED603B
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B42095

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

Preview Lab → · Contrast checker → · Palette generator →

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