#B24281#B24281

#B24281 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.2% C 0.160 H 348.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B24281
RGBrgb(178, 66, 129)
HSLhsl(326, 46%, 48%)
HSVhsv(326, 63%, 70%)
CMYKcmyk(0%, 62.9%, 27.5%, 30.2%)
CIE-LABlab(45.56, 51.86, -11.87)
CIE-LCHlch(45.56, 53.20, 347.10°)
OKLaboklab(55.18% 0.1572 -0.0311)
OKLCHoklch(55.18% 0.16 348.8)
XYZxyz(24.2718, 14.9488, 22.3718)
Luminance0.1495 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24281 #42B273
analogous
#AB42B2 #B24281 #B24249
triadic
#B24281 #81B242 #4281B2
tetradic
#B24281 #B2AB42 #42B273 #4249B2
square
#B24281 #B2AB42 #42B273 #4249B2
split-complementary
#B24281 #49B242 #42B2AB
monochromatic
#592140 #853161 #B24281 #C86A9E #D896BB

Accessibility & contrast

On white

5.26
#B24281 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B24281 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B24281
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24281#FFFFFF#000000##FFFFFF
##B242811.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505F83
Deuteranopia (green-blind)
#6F737E
Tritanopia (blue-blind)
#BE3E5C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b24281;
/* rgb */ color: rgb(178, 66, 129);
/* oklch */ color: oklch(55.2% 0.160 348.8);
Tailwind
colors: {
  custom: {
    50: '#cc7da5',
    500: '#b24281',
    950: '#000000',
  },
}
SCSS
$custom: #b24281;
$custom-light: #cc7da5;
$custom-dark: #000000;
JSON
{
  "hex": "#b24281",
  "rgb": {
    "r": 178,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 326.25,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55177,
    "c": 0.1602,
    "h": 348.8
  },
  "luminance": 0.14946
}

Semantic roles & 50–950 ramp

primary
#B24281
secondary
#8CC4A4
accent
#D68C52
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B24281

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

Preview Lab → · Contrast checker → · Palette generator →

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