#B24871#B24871

#B24871 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.4% C 0.144 H 358.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B24871
RGBrgb(178, 72, 113)
HSLhsl(337, 42%, 49%)
HSVhsv(337, 60%, 70%)
CMYKcmyk(0%, 59.6%, 36.5%, 30.2%)
CIE-LABlab(46.03, 47.14, -1.42)
CIE-LCHlch(46.03, 47.16, 358.27°)
OKLaboklab(55.35% 0.1438 -0.0031)
OKLCHoklch(55.35% 0.144 358.8)
XYZxyz(23.6594, 15.2945, 17.3257)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24871 #48B289
analogous
#B248A6 #B24871 #B25448
triadic
#B24871 #71B248 #4871B2
tetradic
#B24871 #A6B248 #48B289 #5448B2
square
#B24871 #A6B248 #48B289 #5448B2
split-complementary
#B24871 #48B254 #48A6B2
monochromatic
#5B253A #863655 #B24871 #C67192 #D79DB4

Accessibility & contrast

On white

5.17
#B24871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B24871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B24871
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24871#FFFFFF#000000##FFFFFF
##B248711.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6172
Deuteranopia (green-blind)
#76746F
Tritanopia (blue-blind)
#C03F58
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b24871;
/* rgb */ color: rgb(178, 72, 113);
/* oklch */ color: oklch(55.4% 0.144 358.8);
Tailwind
colors: {
  custom: {
    50: '#cd8099',
    500: '#b24871',
    950: '#000000',
  },
}
SCSS
$custom: #b24871;
$custom-light: #cd8099;
$custom-dark: #000000;
JSON
{
  "hex": "#b24871",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 336.792,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55351,
    "c": 0.14379,
    "h": 358.8
  },
  "luminance": 0.15292
}

Semantic roles & 50–950 ramp

primary
#B24871
secondary
#92C4B1
accent
#D2A256
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B24871

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

Preview Lab → · Contrast checker → · Palette generator →

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