#AF2428#AF2428

#AF2428 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.175 H 25.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#AF2428
RGBrgb(175, 36, 40)
HSLhsl(358, 66%, 41%)
HSVhsv(358, 79%, 69%)
CMYKcmyk(0%, 79.4%, 77.1%, 31.4%)
CIE-LABlab(38.78, 54.66, 33.67)
CIE-LCHlch(38.78, 64.20, 31.63°)
OKLaboklab(49.34% 0.158 0.0745)
OKLCHoklch(49.34% 0.175 25.2)
XYZxyz(18.6953, 10.5319, 3.0556)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2428 #24AFAB
analogous
#AF246E #AF2428 #AF6624
triadic
#AF2428 #28AF24 #2428AF
tetradic
#AF2428 #6EAF24 #24AFAB #6624AF
square
#AF2428 #6EAF24 #24AFAB #6624AF
split-complementary
#AF2428 #24AF66 #246EAF
monochromatic
#490F11 #7C1A1C #AF2428 #D63A3E #E16D70

Accessibility & contrast

On white

6.76
#AF2428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#AF2428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2428
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2428#FFFFFF#000000##FFFFFF
##AF24281.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504826
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#C10027
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af2428;
/* rgb */ color: rgb(175, 36, 40);
/* oklch */ color: oklch(49.3% 0.175 25.2);
Tailwind
colors: {
  custom: {
    50: '#d06c62',
    500: '#af2428',
    950: '#000000',
  },
}
SCSS
$custom: #af2428;
$custom-light: #d06c62;
$custom-dark: #000000;
JSON
{
  "hex": "#af2428",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 40
  },
  "hsl": {
    "h": 358.273,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4934,
    "c": 0.17473,
    "h": 25.2
  },
  "luminance": 0.10529
}

Semantic roles & 50–950 ramp

primary
#AF2428
secondary
#68C7C4
accent
#E9E43F
background
#FEF6F5
surface
#FCECEA
border
#D5C7C6
text
#160805
muted
#847A79

Preview Lab

Preview with #AF2428

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

Preview Lab → · Contrast checker → · Palette generator →

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