Crayola crayon color

Crayola Mahogany #CD4A4C

Crayola Mahogany is shown here as #CD4A4C, the commonly published value for the crayon. It is a soft red in the red family. In OKLCH it sits at lightness 0.589, chroma 0.166 and hue 22.9°. The nearest CSS named color is indianred (#CD5C5C), ΔE2000 4.3 away.

Relative luminance
0.1840
OKLCH L · C · h
0.589 · 0.166 · 22.9
Best text
Black 4.67:1
Hue family
Red

#CD4A4C color codes

HEX
#CD4A4C
RGB
rgb(205, 74, 76)
HSL
hsl(359, 57%, 55%)
OKLCH
oklch(0.589 0.166 22.9)
OKLab
oklab(0.589 0.153 0.065)
CIELAB (D65)
L* 49.98, a* 51.95, b* 27.08
XYZ (D65)
X 28.93, Y 18.40, Z 8.86
CMYK (naive)
cmyk(0%, 64%, 63%, 20%)

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.

Crayola is a trademark of Crayola LLC, which this site is not affiliated with. The value is the commonly published sRGB rendering of the crayon, not a Crayola specification.

Legibility

Contrast: is #CD4A4C accessible?

Black text on it reaches 4.67:1, passing AA. White text manages only 4.48: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

    4.67:1

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

    4.48:1

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

    4.67:1

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

    4.48:1

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

Nearest versions that pass 4.5:1

  • For text on white

    #CB484B 4.59:1

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

  • For text on black

    #CD4A4C 4.67:1

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

Checking another pair? Use the Contrast Checker.

Studio

Adjust #CD4A4C 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 #CD4A4C

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

  1. 50#FFF2F0
    White
    1.09
    Black
    19.21
  2. 100#FFE4E2
    White
    1.20
    Black
    17.44
  3. 200#FFC8C4
    White
    1.46
    Black
    14.31
  4. 300#FFA09B
    White
    1.95
    Black
    10.75
  5. 400#F77270
    White
    2.76
    Black
    7.59
  6. 500This color#CD4A4C
    White
    4.48
    Black
    4.67
  7. 600#BC3A3E
    White
    5.50
    Black
    3.81
  8. 700#9F202A
    White
    7.73
    Black
    2.71
  9. 800#7C0015
    White
    11.24
    Black
    1.86
  10. 900#54000B
    White
    15.19
    Black
    1.38
  11. 950#320004
    White
    18.46
    Black
    1.13

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

Gamut

How vivid #CD4A4C can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.238; #CD4A4C uses 70% of it. Display P3, which many recent phones and laptops show, reaches 0.268 there: 13% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.166
sRGB edge
0.238
Display P3 edge
0.268
Rec. 2020 edge
0.312
Dominant wavelength
613 nm
Excitation purity
56%
Chromaticity
x 0.5148, y 0.3274
  • This color#CD4A4C
  • Most vivid in sRGB#E90031
  • Most vivid in Display P3oklch(0.589 0.268 22.9)

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

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

Mixing

Mixing #CD4A4C

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%#E6A5A6
  • OKLab50%#EDA7A3
  • OKLCH50%#EDA7A3

Black #000000

  • sRGB50%#672526
  • OKLab50%#4E1718
  • OKLCH50%#4E1718

Its complement #008E97

  • sRGB50%#676C72
  • OKLab50%#907674
  • OKLCH50%#7E8400
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #cd4a4c, white);
color: color-mix(in oklch, #cd4a4c 50%, white);

In use

#CD4A4C 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:14.67:1 Passes
  • Link and body-size textText, 4.5:14.48:1 Fails
  • Large headingLarge text, 3:14.48:1 Passes
  • Icons, borders and focus ringsNon-text, 3:14.48:1 Passes

For text on this page, the nearest shade that passes is #CB484B 4.59:1

Dark page

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

For text on this page, the nearest shade that passes is #D45052 4.52:1

Color vision

How #CD4A4C looks with color blindness

Deuteranopia changes it most, ΔE2000 36.0; tritanopia changes it least, 4.9.

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

    #6C654B ΔE2000 31.3

    Distinct

    Reads as grayish brown

  • Deuteranopia

    No working green (medium-wavelength) cones

    #8D8149 ΔE2000 36.0

    Distinct

    Reads as muted amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #E02D4C ΔE2000 4.9

    Close match

    Reads as vivid red

  • Achromatopsia

    No cone color vision; lightness only

    #777777 ΔE2000 25.8

    Distinct

    Reads as gray

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#CD4A4C · #008E9751.7Stays distinct
Protanopia#6C654B · #81879825.1Stays distinct
Deuteranopia#8D8149 · #707B9733.3Stays distinct
Tritanopia#E02D4C · #00949160.6Stays distinct
Achromatopsia#777777 · #8080803.5Easily confused

Harmony

Color harmonies for #CD4A4C

Its complement is #008E97, a soft cyan, 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#CD4A4C
  • Complement#008E97

Complementary

Open in Harmony Studio
  • −30°#C34A86
  • Base#CD4A4C
  • +30°#BF5E00
  • Base#CD4A4C
  • +120°#31942F
  • +240°#4577DE
  • Base#CD4A4C
  • +150°#009276
  • +210°#0088B9

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-crayola-mahogany: #cd4a4c;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'crayola-mahogany': '#cd4a4c',
      },
    },
  },
};

Tailwind v4 theme

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

@theme {
  --color-crayola-mahogany: oklch(0.589 0.166 22.9);
}

Design token (W3C DTCG)

{
  "color": {
    "crayola-mahogany": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.8039, 0.2902, 0.298],
        "hex": "#cd4a4c"
      },
      "$description": "Crayola Mahogany"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let crayolaMahogany = Color(.sRGB, red: 0.804, green: 0.290, blue: 0.298, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val CrayolaMahogany = Color(0xFFCD4A4C)
}

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 #CD4A4C in the tools

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