#B42695#B42695

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

Color values

HEX#B42695
RGBrgb(180, 38, 149)
HSLhsl(313, 65%, 43%)
HSVhsv(313, 79%, 71%)
CMYKcmyk(0%, 78.9%, 17.2%, 29.4%)
CIE-LABlab(43.16, 65.13, -27.68)
CIE-LCHlch(43.16, 70.76, 336.98°)
OKLaboklab(53.76% 0.1937 -0.075)
OKLCHoklch(53.76% 0.208 338.8)
XYZxyz(24.9410, 13.2619, 29.6742)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42695 #26B445
analogous
#8C26B4 #B42695 #B4264E
triadic
#B42695 #95B426 #2695B4
tetradic
#B42695 #B48C26 #26B445 #264EB4
square
#B42695 #B48C26 #26B445 #264EB4
split-complementary
#B42695 #4EB426 #26B48C
monochromatic
#4F1141 #811B6B #B42695 #D740B6 #E173C9

Accessibility & contrast

On white

5.75
#B42695 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B42695 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42695
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42695#FFFFFF#000000##FFFFFF
##B426951.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5898
Deuteranopia (green-blind)
#606E92
Tritanopia (blue-blind)
#BE2D5C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42695;
/* rgb */ color: rgb(180, 38, 149);
/* oklch */ color: oklch(53.8% 0.208 338.8);
Tailwind
colors: {
  custom: {
    50: '#cf71b4',
    500: '#b42695',
    950: '#000000',
  },
}
SCSS
$custom: #b42695;
$custom-light: #cf71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b42695",
  "rgb": {
    "r": 180,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 313.099,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53759,
    "c": 0.20768,
    "h": 338.8
  },
  "luminance": 0.13259
}

Semantic roles & 50–950 ramp

primary
#B42695
secondary
#6DC981
accent
#E86440
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42695

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

Preview Lab → · Contrast checker → · Palette generator →

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