#B24082#B24082

#B24082 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.0% C 0.164 H 348.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B24082
RGBrgb(178, 64, 130)
HSLhsl(325, 47%, 47%)
HSVhsv(325, 64%, 70%)
CMYKcmyk(0%, 64%, 27%, 30.2%)
CIE-LABlab(45.28, 52.85, -12.90)
CIE-LCHlch(45.28, 54.41, 346.28°)
OKLaboklab(54.98% 0.1601 -0.0339)
OKLCHoklch(54.98% 0.164 348)
XYZxyz(24.2238, 14.7459, 22.6853)
Luminance0.1474 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24082 #40B270
analogous
#A940B2 #B24082 #B24049
triadic
#B24082 #82B240 #4082B2
tetradic
#B24082 #B2A940 #40B270 #4049B2
square
#B24082 #B2A940 #40B270 #4049B2
split-complementary
#B24082 #49B240 #40B2A9
monochromatic
#582040 #853061 #B24082 #C8679F #D894BC

Accessibility & contrast

On white

5.32
#B24082 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B24082 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B24082
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24082#FFFFFF#000000##FFFFFF
##B240821.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5F84
Deuteranopia (green-blind)
#6E727F
Tritanopia (blue-blind)
#BE3C5B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b24082;
/* rgb */ color: rgb(178, 64, 130);
/* oklch */ color: oklch(55.0% 0.164 348.0);
Tailwind
colors: {
  custom: {
    50: '#cc7ca6',
    500: '#b24082',
    950: '#000000',
  },
}
SCSS
$custom: #b24082;
$custom-light: #cc7ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#b24082",
  "rgb": {
    "r": 178,
    "g": 64,
    "b": 130
  },
  "hsl": {
    "h": 325.263,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54983,
    "c": 0.16363,
    "h": 348
  },
  "luminance": 0.14743
}

Semantic roles & 50–950 ramp

primary
#B24082
secondary
#8AC4A2
accent
#D78951
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B24082

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

Preview Lab → · Contrast checker → · Palette generator →

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