#B24FA0#B24FA0

#B24FA0 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.1% C 0.162 H 335.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B24FA0
RGBrgb(178, 79, 160)
HSLhsl(311, 39%, 50%)
HSVhsv(311, 56%, 70%)
CMYKcmyk(0%, 55.6%, 10.1%, 30.2%)
CIE-LABlab(49.00, 50.52, -25.19)
CIE-LCHlch(49.00, 56.45, 333.50°)
OKLaboklab(58.12% 0.1464 -0.0683)
OKLCHoklch(58.12% 0.162 335)
XYZxyz(27.5014, 17.5970, 35.1990)
Luminance0.1759 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24FA0 #4FB261
analogous
#924FB2 #B24FA0 #B24F6E
triadic
#B24FA0 #A0B24F #4FA0B2
tetradic
#B24FA0 #B2924F #4FB261 #4F6EB2
square
#B24FA0 #B2924F #4FB261 #4F6EB2
split-complementary
#B24FA0 #6EB24F #4FB292
monochromatic
#5E2954 #883C7A #B24FA0 #C57AB7 #D7A4CE

Accessibility & contrast

On white

4.65
#B24FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#B24FA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B24FA0
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24FA0#FFFFFF#000000##FFFFFF
##B24FA01.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6BA3
Deuteranopia (green-blind)
#6C7A9D
Tritanopia (blue-blind)
#BA5570
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b24fa0;
/* rgb */ color: rgb(178, 79, 160);
/* oklch */ color: oklch(58.1% 0.162 335.0);
Tailwind
colors: {
  custom: {
    50: '#cb85bc',
    500: '#b24fa0',
    950: '#000000',
  },
}
SCSS
$custom: #b24fa0;
$custom-light: #cb85bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b24fa0",
  "rgb": {
    "r": 178,
    "g": 79,
    "b": 160
  },
  "hsl": {
    "h": 310.909,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58122,
    "c": 0.16157,
    "h": 335
  },
  "luminance": 0.17595
}

Semantic roles & 50–950 ramp

primary
#B24FA0
secondary
#98C4A0
accent
#CF6E59
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B24FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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