#FF042A#FF042A

#FF042A is a light, highly saturated red. Relative luminance 0.215; OKLCH L 63.1% C 0.255 H 25.3°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#FF042A
RGBrgb(255, 4, 42)
HSLhsl(351, 100%, 51%)
HSVhsv(351, 98%, 100%)
CMYKcmyk(0%, 98.4%, 83.5%, 0%)
CIE-LABlab(53.52, 80.31, 52.56)
CIE-LCHlch(53.52, 95.98, 33.20°)
OKLaboklab(63.05% 0.2303 0.1091)
OKLCHoklch(63.05% 0.255 25.3)
XYZxyz(41.7068, 21.5212, 4.1481)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF042A #04FFD9
analogous
#FF04A8 #FF042A #FF5B04
triadic
#FF042A #2AFF04 #042AFF
tetradic
#FF042A #A8FF04 #04FFD9 #5B04FF
square
#FF042A #A8FF04 #04FFD9 #5B04FF
split-complementary
#FF042A #04FF5B #04A8FF
monochromatic
#890015 #C6001E #FF042A #FF415E #FF7E92

Accessibility & contrast

On white

3.96
#FF042A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#FF042A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF042A
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF042A#FFFFFF#000000##000000
##FF042A1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C6027
Deuteranopia (green-blind)
#A2911B
Tritanopia (blue-blind)
#FF001D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ff042a;
/* rgb */ color: rgb(255, 4, 42);
/* oklch */ color: oklch(63.1% 0.255 25.3);
Tailwind
colors: {
  custom: {
    50: '#ff7465',
    500: '#ff042a',
    950: '#000000',
  },
}
SCSS
$custom: #ff042a;
$custom-light: #ff7465;
$custom-dark: #000000;
JSON
{
  "hex": "#ff042a",
  "rgb": {
    "r": 255,
    "g": 4,
    "b": 42
  },
  "hsl": {
    "h": 350.916,
    "s": 100,
    "l": 50.784
  },
  "oklch": {
    "l": 0.63054,
    "c": 0.25479,
    "h": 25.3
  },
  "luminance": 0.21514
}

Semantic roles & 50–950 ramp

primary
#FF042A
secondary
#78E7D6
accent
#FFDF29
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#1C0A06
muted
#887C7A

Preview Lab

Preview with #FF042A

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

Preview Lab → · Contrast checker → · Palette generator →

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