#FF5040#FF5040

#FF5040 is a light, highly saturated red. Relative luminance 0.274; OKLCH L 67.4% C 0.214 H 29.1°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#FF5040
RGBrgb(255, 80, 64)
HSLhsl(5, 100%, 63%)
HSVhsv(5, 75%, 100%)
CMYKcmyk(0%, 68.6%, 74.9%, 0%)
CIE-LABlab(59.32, 65.16, 46.93)
CIE-LCHlch(59.32, 80.30, 35.76°)
OKLaboklab(67.43% 0.1867 0.1041)
OKLCHoklch(67.43% 0.214 29.1)
XYZxyz(45.0392, 27.3743, 7.7617)
Luminance0.2737 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5040 #40EFFF
analogous
#FF4090 #FF5040 #FFAF40
triadic
#FF5040 #40FF50 #5040FF
tetradic
#FF5040 #90FF40 #40EFFF #AF40FF
square
#FF5040 #90FF40 #40EFFF #AF40FF
split-complementary
#FF5040 #40FFAF #4090FF
monochromatic
#C51000 #FF1803 #FF5040 #FF887D #FFC0BA

Accessibility & contrast

On white

3.24
#FF5040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#FF5040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF5040
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5040#FFFFFF#000000##000000
##FF50401.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83763D
Deuteranopia (green-blind)
#AE9D39
Tritanopia (blue-blind)
#FF0C4E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ff5040;
/* rgb */ color: rgb(255, 80, 64);
/* oklch */ color: oklch(67.4% 0.214 29.1);
Tailwind
colors: {
  custom: {
    50: '#ff8b76',
    500: '#ff5040',
    950: '#000000',
  },
}
SCSS
$custom: #ff5040;
$custom-light: #ff8b76;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5040",
  "rgb": {
    "r": 255,
    "g": 80,
    "b": 64
  },
  "hsl": {
    "h": 5.026,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.67429,
    "c": 0.21377,
    "h": 29.1
  },
  "luminance": 0.27367
}

Semantic roles & 50–950 ramp

primary
#FF5040
secondary
#ABEAF0
accent
#D2E600
background
#FFF9F7
surface
#FFF1ED
border
#D7CBC8
text
#1B0D08
muted
#887E7B

Preview Lab

Preview with #FF5040

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

Preview Lab → · Contrast checker → · Palette generator →

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