#B24CA1#B24CA1

#B24CA1 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.8% C 0.167 H 334.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B24CA1
RGBrgb(178, 76, 161)
HSLhsl(310, 40%, 50%)
HSVhsv(310, 57%, 70%)
CMYKcmyk(0%, 57.3%, 9.6%, 30.2%)
CIE-LABlab(48.52, 52.10, -26.53)
CIE-LCHlch(48.52, 58.46, 333.02°)
OKLaboklab(57.78% 0.1507 -0.0721)
OKLCHoklch(57.78% 0.167 334.4)
XYZxyz(27.3777, 17.2091, 35.5910)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CA1 #4CB25D
analogous
#904CB2 #B24CA1 #B24C6E
triadic
#B24CA1 #A1B24C #4CA1B2
tetradic
#B24CA1 #B2904C #4CB25D #4C6EB2
square
#B24CA1 #B2904C #4CB25D #4C6EB2
split-complementary
#B24CA1 #6EB24C #4CB290
monochromatic
#5C2753 #873A7A #B24CA1 #C576B8 #D7A1CE

Accessibility & contrast

On white

4.73
#B24CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#B24CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B24CA1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CA1#FFFFFF#000000##FFFFFF
##B24CA11.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6AA4
Deuteranopia (green-blind)
#6A799E
Tritanopia (blue-blind)
#BA526F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b24ca1;
/* rgb */ color: rgb(178, 76, 161);
/* oklch */ color: oklch(57.8% 0.167 334.4);
Tailwind
colors: {
  custom: {
    50: '#cc83bd',
    500: '#b24ca1',
    950: '#000000',
  },
}
SCSS
$custom: #b24ca1;
$custom-light: #cc83bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b24ca1",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 310,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57781,
    "c": 0.16708,
    "h": 334.4
  },
  "luminance": 0.17207
}

Semantic roles & 50–950 ramp

primary
#B24CA1
secondary
#96C49E
accent
#D06C58
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B24CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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