#B42395#B42395

#B42395 is a mid, highly saturated pink. Relative luminance 0.131; OKLCH L 53.6% C 0.210 H 338.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B42395
RGBrgb(180, 35, 149)
HSLhsl(313, 67%, 42%)
HSVhsv(313, 81%, 71%)
CMYKcmyk(0%, 80.6%, 17.2%, 29.4%)
CIE-LABlab(42.88, 65.92, -28.11)
CIE-LCHlch(42.88, 71.66, 336.91°)
OKLaboklab(53.56% 0.196 -0.0763)
OKLCHoklch(53.56% 0.21 338.7)
XYZxyz(24.8489, 13.0778, 29.6436)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42395 #23B442
analogous
#8B23B4 #B42395 #B4234C
triadic
#B42395 #95B423 #2395B4
tetradic
#B42395 #B48B23 #23B442 #234CB4
square
#B42395 #B48B23 #23B442 #234CB4
split-complementary
#B42395 #4CB423 #23B48B
monochromatic
#4E0F40 #81196B #B42395 #D93BB7 #E36ECA

Accessibility & contrast

On white

5.81
#B42395 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B42395 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42395
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42395#FFFFFF#000000##FFFFFF
##B423951.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5798
Deuteranopia (green-blind)
#5F6D92
Tritanopia (blue-blind)
#BF2B5B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42395;
/* rgb */ color: rgb(180, 35, 149);
/* oklch */ color: oklch(53.6% 0.210 338.7);
Tailwind
colors: {
  custom: {
    50: '#cf70b4',
    500: '#b42395',
    950: '#000000',
  },
}
SCSS
$custom: #b42395;
$custom-light: #cf70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b42395",
  "rgb": {
    "r": 180,
    "g": 35,
    "b": 149
  },
  "hsl": {
    "h": 312.828,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53561,
    "c": 0.21035,
    "h": 338.7
  },
  "luminance": 0.13075
}

Semantic roles & 50–950 ramp

primary
#B42395
secondary
#69C97E
accent
#EA623D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42395

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

Preview Lab → · Contrast checker → · Palette generator →

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