#FF5840#FF5840

#FF5840 is a light, highly saturated red. Relative luminance 0.286; OKLCH L 68.3% C 0.207 H 31.1°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#FF5840
RGBrgb(255, 88, 64)
HSLhsl(8, 100%, 63%)
HSVhsv(8, 75%, 100%)
CMYKcmyk(0%, 65.5%, 74.9%, 0%)
CIE-LABlab(60.44, 62.11, 48.14)
CIE-LCHlch(60.44, 78.58, 37.78°)
OKLaboklab(68.27% 0.1772 0.1067)
OKLCHoklch(68.27% 0.207 31.1)
XYZxyz(45.6602, 28.6163, 7.9687)
Luminance0.2861 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5840 #40E7FF
analogous
#FF4088 #FF5840 #FFB740
triadic
#FF5840 #40FF58 #5840FF
tetradic
#FF5840 #88FF40 #40E7FF #B740FF
square
#FF5840 #88FF40 #40E7FF #B740FF
split-complementary
#FF5840 #40FFB7 #4088FF
monochromatic
#C51900 #FF2203 #FF5840 #FF8E7D #FFC3BA

Accessibility & contrast

On white

3.12
#FF5840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#FF5840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF5840
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5840#FFFFFF#000000##000000
##FF58401.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887A3C
Deuteranopia (green-blind)
#B19F3A
Tritanopia (blue-blind)
#FF2754
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ff5840;
/* rgb */ color: rgb(255, 88, 64);
/* oklch */ color: oklch(68.3% 0.207 31.1);
Tailwind
colors: {
  custom: {
    50: '#ff8f76',
    500: '#ff5840',
    950: '#000000',
  },
}
SCSS
$custom: #ff5840;
$custom-light: #ff8f76;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5840",
  "rgb": {
    "r": 255,
    "g": 88,
    "b": 64
  },
  "hsl": {
    "h": 7.539,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6827,
    "c": 0.20682,
    "h": 31.1
  },
  "luminance": 0.2861
}

Semantic roles & 50–950 ramp

primary
#FF5840
secondary
#ABE7F0
accent
#C9E600
background
#FFF9F7
surface
#FFF1ED
border
#D7CBC8
text
#1A0D08
muted
#877E7B

Preview Lab

Preview with #FF5840

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

Preview Lab → · Contrast checker → · Palette generator →

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