#FF5178#FF5178

#FF5178 is a light, highly saturated red. Relative luminance 0.285; OKLCH L 68.5% C 0.210 H 11.5°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#FF5178
RGBrgb(255, 81, 120)
HSLhsl(347, 100%, 66%)
HSVhsv(347, 68%, 100%)
CMYKcmyk(0%, 68.2%, 52.9%, 0%)
CIE-LABlab(60.34, 67.93, 16.51)
CIE-LCHlch(60.34, 69.91, 13.66°)
OKLaboklab(68.48% 0.2056 0.0417)
OKLCHoklch(68.48% 0.21 11.5)
XYZxyz(47.5769, 28.5074, 20.7628)
Luminance0.2850 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5178 #51FFD8
analogous
#FF51CF #FF5178 #FF8151
triadic
#FF5178 #78FF51 #5178FF
tetradic
#FF5178 #CFFF51 #51FFD8 #8151FF
square
#FF5178 #CFFF51 #51FFD8 #8151FF
split-complementary
#FF5178 #51FF81 #51CFFF
monochromatic
#D60030 #FF1449 #FF5178 #FF8EA7 #FFCBD7

Accessibility & contrast

On white

3.13
#FF5178 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#FF5178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF5178
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5178#FFFFFF#000000##000000
##FF51781.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7B79
Deuteranopia (green-blind)
#A99F74
Tritanopia (blue-blind)
#FF2D61
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ff5178;
/* rgb */ color: rgb(255, 81, 120);
/* oklch */ color: oklch(68.5% 0.210 11.5);
Tailwind
colors: {
  custom: {
    50: '#ff8c9e',
    500: '#ff5178',
    950: '#000000',
  },
}
SCSS
$custom: #ff5178;
$custom-light: #ff8c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5178",
  "rgb": {
    "r": 255,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 346.552,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68481,
    "c": 0.20975,
    "h": 11.5
  },
  "luminance": 0.28501
}

Semantic roles & 50–950 ramp

primary
#FF5178
secondary
#B9F3E6
accent
#E6B200
background
#FFF9F9
surface
#FFF1F2
border
#D7CBCC
text
#1A0D0E
muted
#877E7E

Preview Lab

Preview with #FF5178

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

Preview Lab → · Contrast checker → · Palette generator →

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