#EA331F

A color in the Red, Pink family

#ea331f is a color in the Red, Pink family: RGB(234, 51, 31), HSL(6°, 83%, 52%), CMYK(0%, 78%, 87%, 8%). Closest named color: red. Contrast is 4.21:1 on white and 4.99:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ea331f
RGBrgb(234 51 31)
RGB (legacy)rgb(234, 51, 31)
RGB %rgb(92% 20% 12%)
HSLhsl(6 83% 52%)
HSV / HSBhsv(6, 87%, 92%)
HWBhwb(6 12% 8%)
CMYKcmyk(0%, 78%, 87%, 8%)
CIELAB (D50)lab(52.69 68.4 56.53)
LCHlch(52.69 88.74 39.58)
OKLaboklab(0.6104 0.19 0.1117)
OKLCHoklch(0.6104 0.2204 30.44)
Decimal15348511

Properties

Color ToneRed, Pink
Closest named colorred ΔE 4.1
Closest web-safe color#ff3333
Hue6°
Saturation (HSL / HSV)83% / 87%
Lightness (HSL)52%
Brightness or Value (HSV)92%
Luminance (Rec.601 / Rec.709)41% / 35%
Relative luminance (WCAG)0.1996
Red / Green / Blue234 / 51 / 31

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.21:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.99:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 67.3 / -34.4 · As background with white / black text: Lc -72.8 / 36.8

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #ea331f;
  --color-brand-oklch: oklch(61.04% 0.2204 30.44);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(234 51 31 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ea331f] text-[#ea331f] border-[#ea331f]">