#AF1237

A color in the Red, Pink family

#af1237 is a color in the Red, Pink family: RGB(175, 18, 55), HSL(346°, 81%, 38%), CMYK(0%, 90%, 69%, 31%). Closest named color: firebrick. Contrast is 7.08:1 on white and 2.96:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#af1237
RGBrgb(175 18 55)
RGB (legacy)rgb(175, 18, 55)
RGB %rgb(69% 7% 22%)
HSLhsl(346 81% 38%)
HSV / HSBhsv(346, 90%, 69%)
HWBhwb(346 7% 31%)
CMYKcmyk(0%, 90%, 69%, 31%)
CIELAB (D50)lab(38.2 59.7 24.49)
LCHlch(38.2 64.53 22.3)
OKLaboklab(0.4848 0.177 0.054)
OKLCHoklch(0.4848 0.185 16.98)
Decimal11473463

Properties

Color ToneRed, Pink
Closest named colorfirebrick ΔE 3.4
Closest web-safe color#990033
Hue346°
Saturation (HSL / HSV)81% / 90%
Lightness (HSL)38%
Brightness or Value (HSV)69%
Luminance (Rec.601 / Rec.709)27% / 21%
Relative luminance (WCAG)0.0982
Red / Green / Blue175 / 18 / 55

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 82.5 / -19.4 · As background with white / black text: Lc -87.6 / 21.5

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: #af1237;
  --color-brand-oklch: oklch(48.48% 0.185 16.98);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(175 18 55 / 50%); }
/* Tailwind CSS */
<div class="bg-[#af1237] text-[#af1237] border-[#af1237]">