#B42697#B42697

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

Color values

HEX#B42697
RGBrgb(180, 38, 151)
HSLhsl(312, 65%, 43%)
HSVhsv(312, 79%, 71%)
CMYKcmyk(0%, 78.9%, 16.1%, 29.4%)
CIE-LABlab(43.25, 65.40, -28.74)
CIE-LCHlch(43.25, 71.44, 336.28°)
OKLaboklab(53.86% 0.1939 -0.0781)
OKLCHoklch(53.86% 0.209 338.1)
XYZxyz(25.1020, 13.3264, 30.5224)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42697 #26B443
analogous
#8A26B4 #B42697 #B42650
triadic
#B42697 #97B426 #2697B4
tetradic
#B42697 #B48A26 #26B443 #2650B4
square
#B42697 #B48A26 #26B443 #2650B4
split-complementary
#B42697 #50B426 #26B48A
monochromatic
#4F1142 #811B6D #B42697 #D740B8 #E173CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42697#FFFFFF#000000##FFFFFF
##B426971.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)
#2D589A
Deuteranopia (green-blind)
#5F6E94
Tritanopia (blue-blind)
#BE2F5D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42697;
/* rgb */ color: rgb(180, 38, 151);
/* oklch */ color: oklch(53.9% 0.209 338.1);
Tailwind
colors: {
  custom: {
    50: '#cf71b6',
    500: '#b42697',
    950: '#000000',
  },
}
SCSS
$custom: #b42697;
$custom-light: #cf71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b42697",
  "rgb": {
    "r": 180,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 312.254,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53859,
    "c": 0.20898,
    "h": 338.1
  },
  "luminance": 0.13324
}

Semantic roles & 50–950 ramp

primary
#B42697
secondary
#6DC980
accent
#E86240
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42697

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

Preview Lab → · Contrast checker → · Palette generator →

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