#B42793#B42793

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

Color values

HEX#B42793
RGBrgb(180, 39, 147)
HSLhsl(314, 64%, 43%)
HSVhsv(314, 78%, 71%)
CMYKcmyk(0%, 78.3%, 18.3%, 29.4%)
CIE-LABlab(43.16, 64.58, -26.46)
CIE-LCHlch(43.16, 69.79, 337.72°)
OKLaboklab(53.73% 0.1926 -0.0716)
OKLCHoklch(53.73% 0.205 339.6)
XYZxyz(24.8151, 13.2634, 28.8513)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42793 #27B448
analogous
#8F27B4 #B42793 #B4274C
triadic
#B42793 #93B427 #2793B4
tetradic
#B42793 #B48F27 #27B448 #274CB4
square
#B42793 #B48F27 #27B448 #274CB4
split-complementary
#B42793 #4CB427 #27B48F
monochromatic
#4F1141 #821C6A #B42793 #D642B3 #E174C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42793#FFFFFF#000000##FFFFFF
##B427931.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)
#315896
Deuteranopia (green-blind)
#616E90
Tritanopia (blue-blind)
#BF2D5B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42793;
/* rgb */ color: rgb(180, 39, 147);
/* oklch */ color: oklch(53.7% 0.205 339.6);
Tailwind
colors: {
  custom: {
    50: '#cf71b3',
    500: '#b42793',
    950: '#000000',
  },
}
SCSS
$custom: #b42793;
$custom-light: #cf71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b42793",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 147
  },
  "hsl": {
    "h": 314.043,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5373,
    "c": 0.20547,
    "h": 339.6
  },
  "luminance": 0.13261
}

Semantic roles & 50–950 ramp

primary
#B42793
secondary
#6FC884
accent
#E76740
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42793

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

Preview Lab → · Contrast checker → · Palette generator →

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