#B24291#B24291

#B24291 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.8% C 0.170 H 341.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B24291
RGBrgb(178, 66, 145)
HSLhsl(318, 46%, 48%)
HSVhsv(318, 63%, 70%)
CMYKcmyk(0%, 62.9%, 18.5%, 30.2%)
CIE-LABlab(46.19, 54.09, -20.59)
CIE-LCHlch(46.19, 57.88, 339.16°)
OKLaboklab(55.84% 0.161 -0.0553)
OKLCHoklch(55.84% 0.17 341.1)
XYZxyz(25.4198, 15.4080, 28.4178)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24291 #42B263
analogous
#9B42B2 #B24291 #B24259
triadic
#B24291 #91B242 #4291B2
tetradic
#B24291 #B29B42 #42B263 #4259B2
square
#B24291 #B29B42 #42B263 #4259B2
split-complementary
#B24291 #59B242 #42B29B
monochromatic
#592148 #85316D #B24291 #C86AAC #D896C5

Accessibility & contrast

On white

5.15
#B24291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B24291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B24291
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24291#FFFFFF#000000##FFFFFF
##B242911.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496293
Deuteranopia (green-blind)
#6B748E
Tritanopia (blue-blind)
#BC4463
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b24291;
/* rgb */ color: rgb(178, 66, 145);
/* oklch */ color: oklch(55.8% 0.170 341.1);
Tailwind
colors: {
  custom: {
    50: '#cc7db1',
    500: '#b24291',
    950: '#000000',
  },
}
SCSS
$custom: #b24291;
$custom-light: #cc7db1;
$custom-dark: #000000;
JSON
{
  "hex": "#b24291",
  "rgb": {
    "r": 178,
    "g": 66,
    "b": 145
  },
  "hsl": {
    "h": 317.679,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55841,
    "c": 0.1702,
    "h": 341.1
  },
  "luminance": 0.15406
}

Semantic roles & 50–950 ramp

primary
#B24291
secondary
#8CC49C
accent
#D67952
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A10
muted
#827C7F

Preview Lab

Preview with #B24291

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

Preview Lab → · Contrast checker → · Palette generator →

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