#B24797#B24797

#B24797 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.7% C 0.167 H 338.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B24797
RGBrgb(178, 71, 151)
HSLhsl(315, 43%, 49%)
HSVhsv(315, 60%, 70%)
CMYKcmyk(0%, 60.1%, 15.2%, 30.2%)
CIE-LABlab(47.25, 52.79, -22.56)
CIE-LCHlch(47.25, 57.41, 336.86°)
OKLaboklab(56.7% 0.1556 -0.0608)
OKLCHoklch(56.7% 0.167 338.6)
XYZxyz(26.1997, 16.2080, 31.0207)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24797 #47B262
analogous
#9847B2 #B24797 #B24762
triadic
#B24797 #97B247 #4797B2
tetradic
#B24797 #B29847 #47B262 #4762B2
square
#B24797 #B29847 #47B262 #4762B2
split-complementary
#B24797 #62B247 #47B298
monochromatic
#5B244D #863672 #B24797 #C670B0 #D79CC8

Accessibility & contrast

On white

4.95
#B24797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#B24797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B24797
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24797#FFFFFF#000000##FFFFFF
##B247971.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6599
Deuteranopia (green-blind)
#6B7694
Tritanopia (blue-blind)
#BB4B68
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b24797;
/* rgb */ color: rgb(178, 71, 151);
/* oklch */ color: oklch(56.7% 0.167 338.6);
Tailwind
colors: {
  custom: {
    50: '#cc80b5',
    500: '#b24797',
    950: '#000000',
  },
}
SCSS
$custom: #b24797;
$custom-light: #cc80b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b24797",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 315.14,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56701,
    "c": 0.16707,
    "h": 338.6
  },
  "luminance": 0.16206
}

Semantic roles & 50–950 ramp

primary
#B24797
secondary
#91C49E
accent
#D37555
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #B24797

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

Preview Lab → · Contrast checker → · Palette generator →

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