CSS named color

Orange Red #FF4500

The CSS keyword orangered is #FF4500. It is a light vivid red in the red family. In OKLCH it sits at lightness 0.660, chroma 0.229 and hue 35.4°.

Relative luminance
0.2552
OKLCH L · C · h
0.660 · 0.229 · 35.4
Best text
Black 6.10:1
Hue family
Red

#FF4500 color codes

HEX
#FF4500
RGB
rgb(255, 69, 0)
HSL
hsl(16, 100%, 50%)
OKLCH
oklch(0.660 0.229 35.4)
OKLab
oklab(0.660 0.187 0.133)
CIELAB (D65)
L* 57.58, a* 67.78, b* 68.96
XYZ (D65)
X 43.37, Y 25.52, Z 2.64
CMYK (naive)
cmyk(0%, 73%, 100%, 0%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

Legibility

Contrast: is #FF4500 accessible?

Black text on it reaches 6.10:1, passing AA. White text manages only 3.44:1, enough for large text only.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    6.10:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc +43
  • White text on it

    3.44:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc −65
  • As text on black

    6.10:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc −41
  • As text on white

    3.44:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc +60

Nearest versions that pass 4.5:1

  • For text on white

    #DC3A00 4.51:1

    Darkening its OKLCH lightness from 0.66 to 0.59 reaches 4.51:1 on white, keeping the hue.

  • For text on black

    #FF4500 6.10:1

    It already reaches 6.10:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #FF4500 live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #FF4500

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #FF4500 sits at step 500.

  1. 50#FFF2EE
    White
    1.09
    Black
    19.18
  2. 100#FFE4DD
    White
    1.20
    Black
    17.39
  3. 200#FFC9BB
    White
    1.46
    Black
    14.32
  4. 300#FFA28A
    White
    1.94
    Black
    10.78
  5. 400#FF6E49
    White
    2.77
    Black
    7.57
  6. 500This color#FF4500
    White
    3.44
    Black
    6.10
  7. 600#C33200
    White
    5.56
    Black
    3.77
  8. 700#9D2700
    White
    7.70
    Black
    2.72
  9. 800#751A00
    White
    11.02
    Black
    1.90
  10. 900#4E0E00
    White
    15.14
    Black
    1.38
  11. 950#2F0500
    White
    18.37
    Black
    1.14

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #FF4500 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.229; #FF4500 uses 100% of it. Display P3, which many recent phones and laptops show, reaches 0.258 there: 13% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.229
sRGB edge
0.229
Display P3 edge
0.258
Rec. 2020 edge
0.258
Dominant wavelength
603 nm
Excitation purity
90%
Chromaticity
x 0.6063, y 0.3568
  • This color#FF4500
  • Most vivid in sRGB#FF4500
  • Most vivid in Display P3oklch(0.660 0.258 35.4)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #ff4500;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.9605 0.2725 0); }
}

Mixing

Mixing #FF4500

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#FFA280
  • OKLab50%#FFAC94
  • OKLCH50%#FFB19D

Black #000000

  • sRGB50%#802300
  • OKLab50%#631500
  • OKLCH50%#631500

Its complement #00A3BF

  • sRGB50%#807460
  • OKLab50%#B2867B
  • OKLCH50%#AC71E5
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #ff4500, white);
color: color-mix(in oklch, #ff4500 50%, white);

In use

#FF4500 in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:16.10:1 Passes
  • Link and body-size textText, 4.5:13.44:1 Fails
  • Large headingLarge text, 3:13.44:1 Passes
  • Icons, borders and focus ringsNon-text, 3:13.44:1 Passes

For text on this page, the nearest shade that passes is #DC3A00 4.51:1

Dark page

  • Button labelText, 4.5:16.10:1 Passes
  • Link and body-size textText, 4.5:15.44:1 Passes
  • Large headingLarge text, 3:15.44:1 Passes
  • Icons, borders and focus ringsNon-text, 3:15.44:1 Passes

Color vision

How #FF4500 looks with color blindness

Deuteranopia changes it most, ΔE2000 39.9; tritanopia changes it least, 14.6.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #807000 ΔE2000 38.5

    Distinct

    Reads as soft brown

  • Deuteranopia

    No working green (medium-wavelength) cones

    #AD9900 ΔE2000 39.9

    Distinct

    Reads as light soft amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #FF003C ΔE2000 14.6

    Distinct

    Reads as vivid red

  • Achromatopsia

    No cone color vision; lightness only

    #8A8A8A ΔE2000 30.5

    Distinct

    Reads as gray

Pairing check

Checked against its complement, #00A3BF. Their lightness contrast is only 1.14:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#FF4500 · #00A3BF52.7Stays distinct
Protanopia#807000 · #909EC144.4Stays distinct
Deuteranopia#AD9900 · #7B8EBF48.7Stays distinct
Tritanopia#FF003C · #00ADAC63.9Stays distinct
Achromatopsia#8A8A8A · #9595953.7Easily confused

Harmony

Color harmonies for #FF4500

Its complement is #00A3BF, a soft blue, on the cool side of the wheel.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#FF4500
  • Complement#00A3BF

Complementary

Open in Harmony Studio
  • −30°#FB3A7E
  • Base#FF4500
  • +30°#CE7C00
  • Base#FF4500
  • +120°#00AE65
  • +240°#7583FF
  • Base#FF4500
  • +150°#00A99C
  • +210°#0099F1

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-orangered: #ff4500;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        orangered: '#ff4500',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-orangered: oklch(0.660 0.229 35.4);
}

Design token (W3C DTCG)

{
  "color": {
    "orangered": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [1, 0.2706, 0],
        "hex": "#ff4500"
      },
      "$description": "CSS named color orangered"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let orangered = Color(.sRGB, red: 1.000, green: 0.271, blue: 0.000, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Orangered = Color(0xFFFF4500)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #FF4500 in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.