#B24497#B24497

#B24497 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.3% C 0.172 H 338.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B24497
RGBrgb(178, 68, 151)
HSLhsl(315, 45%, 48%)
HSVhsv(315, 62%, 70%)
CMYKcmyk(0%, 61.8%, 15.2%, 30.2%)
CIE-LABlab(46.76, 54.12, -23.31)
CIE-LCHlch(46.76, 58.93, 336.70°)
OKLaboklab(56.34% 0.1596 -0.0629)
OKLCHoklch(56.34% 0.172 338.5)
XYZxyz(26.0136, 15.8358, 30.9587)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24497 #44B25F
analogous
#9644B2 #B24497 #B24460
triadic
#B24497 #97B244 #4497B2
tetradic
#B24497 #B29644 #44B25F #4460B2
square
#B24497 #B29644 #44B25F #4460B2
split-complementary
#B24497 #60B244 #44B296
monochromatic
#59224C #863371 #B24497 #C76CB1 #D899C8

Accessibility & contrast

On white

5.04
#B24497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B24497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B24497
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24497#FFFFFF#000000##FFFFFF
##B244971.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48649A
Deuteranopia (green-blind)
#6A7594
Tritanopia (blue-blind)
#BB4867
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b24497;
/* rgb */ color: rgb(178, 68, 151);
/* oklch */ color: oklch(56.3% 0.172 338.5);
Tailwind
colors: {
  custom: {
    50: '#cc7fb5',
    500: '#b24497',
    950: '#000000',
  },
}
SCSS
$custom: #b24497;
$custom-light: #cc7fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#b24497",
  "rgb": {
    "r": 178,
    "g": 68,
    "b": 151
  },
  "hsl": {
    "h": 314.727,
    "s": 44.715,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56343,
    "c": 0.17152,
    "h": 338.5
  },
  "luminance": 0.15834
}

Semantic roles & 50–950 ramp

primary
#B24497
secondary
#8EC49B
accent
#D47353
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A11
muted
#827C80

Preview Lab

Preview with #B24497

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

Preview Lab → · Contrast checker → · Palette generator →

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