#B24287#B24287

#B24287 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.4% C 0.164 H 345.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B24287
RGBrgb(178, 66, 135)
HSLhsl(323, 46%, 48%)
HSVhsv(323, 63%, 70%)
CMYKcmyk(0%, 62.9%, 24.2%, 30.2%)
CIE-LABlab(45.79, 52.67, -15.17)
CIE-LCHlch(45.79, 54.81, 343.93°)
OKLaboklab(55.42% 0.1587 -0.0402)
OKLCHoklch(55.42% 0.164 345.8)
XYZxyz(24.6824, 15.1131, 24.5342)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24287 #42B26D
analogous
#A542B2 #B24287 #B2424F
triadic
#B24287 #87B242 #4287B2
tetradic
#B24287 #B2A542 #42B26D #424FB2
square
#B24287 #B2A542 #42B26D #424FB2
split-complementary
#B24287 #4FB242 #42B2A5
monochromatic
#592143 #853165 #B24287 #C86AA4 #D896BF

Accessibility & contrast

On white

5.22
#B24287 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B24287 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B24287
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24287#FFFFFF#000000##FFFFFF
##B242871.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6089
Deuteranopia (green-blind)
#6E7384
Tritanopia (blue-blind)
#BD405F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b24287;
/* rgb */ color: rgb(178, 66, 135);
/* oklch */ color: oklch(55.4% 0.164 345.8);
Tailwind
colors: {
  custom: {
    50: '#cc7daa',
    500: '#b24287',
    950: '#000000',
  },
}
SCSS
$custom: #b24287;
$custom-light: #cc7daa;
$custom-dark: #000000;
JSON
{
  "hex": "#b24287",
  "rgb": {
    "r": 178,
    "g": 66,
    "b": 135
  },
  "hsl": {
    "h": 323.036,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55417,
    "c": 0.16371,
    "h": 345.8
  },
  "luminance": 0.15111
}

Semantic roles & 50–950 ramp

primary
#B24287
secondary
#8CC4A1
accent
#D68552
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #B24287

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

Preview Lab → · Contrast checker → · Palette generator →

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