#B24079#B24079

#B24079 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.6% C 0.159 H 352.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B24079
RGBrgb(178, 64, 121)
HSLhsl(330, 47%, 47%)
HSVhsv(330, 64%, 70%)
CMYKcmyk(0%, 64%, 32%, 30.2%)
CIE-LABlab(44.96, 51.70, -7.90)
CIE-LCHlch(44.96, 52.30, 351.31°)
OKLaboklab(54.64% 0.1576 -0.0203)
OKLCHoklch(54.64% 0.159 352.7)
XYZxyz(23.6459, 14.5148, 19.6418)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24079 #40B279
analogous
#B240B2 #B24079 #B24040
triadic
#B24079 #79B240 #4079B2
tetradic
#B24079 #B2B240 #40B279 #4040B2
square
#B24079 #B2B240 #40B279 #4040B2
split-complementary
#B24079 #40B240 #40B2B2
monochromatic
#58203C #85305A #B24079 #C86798 #D894B6

Accessibility & contrast

On white

5.38
#B24079 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B24079 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B24079
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24079#FFFFFF#000000##FFFFFF
##B240791.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515D7B
Deuteranopia (green-blind)
#717276
Tritanopia (blue-blind)
#BF3957
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b24079;
/* rgb */ color: rgb(178, 64, 121);
/* oklch */ color: oklch(54.6% 0.159 352.7);
Tailwind
colors: {
  custom: {
    50: '#cd7c9f',
    500: '#b24079',
    950: '#000000',
  },
}
SCSS
$custom: #b24079;
$custom-light: #cd7c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#b24079",
  "rgb": {
    "r": 178,
    "g": 64,
    "b": 121
  },
  "hsl": {
    "h": 330,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5464,
    "c": 0.15885,
    "h": 352.7
  },
  "luminance": 0.14512
}

Semantic roles & 50–950 ramp

primary
#B24079
secondary
#8AC4A7
accent
#D79451
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B24079

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

Preview Lab → · Contrast checker → · Palette generator →

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