#FF5796#FF5796

#FF5796 is a light, highly saturated pink. Relative luminance 0.303; OKLCH L 69.9% C 0.209 H 1.1°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#FF5796
RGBrgb(255, 87, 150)
HSLhsl(338, 100%, 67%)
HSVhsv(338, 66%, 100%)
CMYKcmyk(0%, 65.9%, 41.2%, 0%)
CIE-LABlab(61.90, 68.28, 1.26)
CIE-LCHlch(61.90, 68.29, 1.06°)
OKLaboklab(69.88% 0.2089 0.0041)
OKLCHoklch(69.88% 0.209 1.1)
XYZxyz(50.1567, 30.2845, 32.0524)
Luminance0.3028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5796 #57FFC0
analogous
#FF57EA #FF5796 #FF6C57
triadic
#FF5796 #96FF57 #5796FF
tetradic
#FF5796 #EAFF57 #57FFC0 #6C57FF
square
#FF5796 #EAFF57 #57FFC0 #6C57FF
split-complementary
#FF5796 #57FF6C #57EAFF
monochromatic
#DC0052 #FF1A70 #FF5796 #FF94BC #FFD1E3

Accessibility & contrast

On white

2.98
#FF5796 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#FF5796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5796
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5796#FFFFFF#000000##000000
##FF57961.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#798198
Deuteranopia (green-blind)
#A6A192
Tritanopia (blue-blind)
#FF4370
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ff5796;
/* rgb */ color: rgb(255, 87, 150);
/* oklch */ color: oklch(69.9% 0.209 1.1);
Tailwind
colors: {
  custom: {
    50: '#ff90b4',
    500: '#ff5796',
    950: '#000000',
  },
}
SCSS
$custom: #ff5796;
$custom-light: #ff90b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5796",
  "rgb": {
    "r": 255,
    "g": 87,
    "b": 150
  },
  "hsl": {
    "h": 337.5,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69876,
    "c": 0.20896,
    "h": 1.1
  },
  "luminance": 0.30278
}

Semantic roles & 50–950 ramp

primary
#FF5796
secondary
#BEF4E0
accent
#E68F00
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#190D11
muted
#877E80

Preview Lab

Preview with #FF5796

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

Preview Lab → · Contrast checker → · Palette generator →

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