#B25478#B25478

#B25478 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.2% C 0.128 H 357.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B25478
RGBrgb(178, 84, 120)
HSLhsl(337, 38%, 51%)
HSVhsv(337, 53%, 70%)
CMYKcmyk(0%, 52.8%, 32.6%, 30.2%)
CIE-LABlab(48.47, 42.15, -2.10)
CIE-LCHlch(48.47, 42.21, 357.15°)
OKLaboklab(57.24% 0.1281 -0.005)
OKLCHoklch(57.24% 0.128 357.8)
XYZxyz(24.9217, 17.1640, 19.7661)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25478 #54B28E
analogous
#B254A7 #B25478 #B25F54
triadic
#B25478 #78B254 #5478B2
tetradic
#B25478 #A7B254 #54B28E #5F54B2
square
#B25478 #A7B254 #54B28E #5F54B2
split-complementary
#B25478 #54B25F #54A7B2
monochromatic
#602B40 #8A3E5B #B25478 #C57E99 #D8A8BB

Accessibility & contrast

On white

4.74
#B25478 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#B25478 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B25478
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25478#FFFFFF#000000##FFFFFF
##B254781.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626879
Deuteranopia (green-blind)
#7B7A76
Tritanopia (blue-blind)
#BF4E61
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b25478;
/* rgb */ color: rgb(178, 84, 120);
/* oklch */ color: oklch(57.2% 0.128 357.8);
Tailwind
colors: {
  custom: {
    50: '#cc879e',
    500: '#b25478',
    950: '#000000',
  },
}
SCSS
$custom: #b25478;
$custom-light: #cc879e;
$custom-dark: #000000;
JSON
{
  "hex": "#b25478",
  "rgb": {
    "r": 178,
    "g": 84,
    "b": 120
  },
  "hsl": {
    "h": 337.021,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5724,
    "c": 0.12816,
    "h": 357.8
  },
  "luminance": 0.17162
}

Semantic roles & 50–950 ramp

primary
#B25478
secondary
#9CC6B6
accent
#CEA15A
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #B25478

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

Preview Lab → · Contrast checker → · Palette generator →

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