#B24798#B24798

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

Color values

HEX#B24798
RGBrgb(178, 71, 152)
HSLhsl(315, 43%, 49%)
HSVhsv(315, 60%, 70%)
CMYKcmyk(0%, 60.1%, 14.6%, 30.2%)
CIE-LABlab(47.29, 52.95, -23.09)
CIE-LCHlch(47.29, 57.76, 336.44°)
OKLaboklab(56.75% 0.1558 -0.0623)
OKLCHoklch(56.75% 0.168 338.2)
XYZxyz(26.2812, 16.2406, 31.4503)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24798 #47B261
analogous
#9747B2 #B24798 #B24763
triadic
#B24798 #98B247 #4798B2
tetradic
#B24798 #B29747 #47B261 #4763B2
square
#B24798 #B29747 #47B261 #4763B2
split-complementary
#B24798 #63B247 #47B297
monochromatic
#5B244D #863673 #B24798 #C670B1 #D79CC9

Accessibility & contrast

On white

4.94
#B24798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#B24798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B24798
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24798#FFFFFF#000000##FFFFFF
##B247981.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B669B
Deuteranopia (green-blind)
#6B7695
Tritanopia (blue-blind)
#BB4B69
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b24798;
/* rgb */ color: rgb(178, 71, 152);
/* oklch */ color: oklch(56.7% 0.168 338.2);
Tailwind
colors: {
  custom: {
    50: '#cc80b6',
    500: '#b24798',
    950: '#000000',
  },
}
SCSS
$custom: #b24798;
$custom-light: #cc80b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b24798",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 152
  },
  "hsl": {
    "h": 314.579,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56746,
    "c": 0.1678,
    "h": 338.2
  },
  "luminance": 0.16238
}

Semantic roles & 50–950 ramp

primary
#B24798
secondary
#91C49D
accent
#D37455
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #B24798

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

Preview Lab → · Contrast checker → · Palette generator →

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