#AF2A25#AF2A25

#AF2A25 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.8% C 0.170 H 27.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#AF2A25
RGBrgb(175, 42, 37)
HSLhsl(2, 65%, 42%)
HSVhsv(2, 79%, 69%)
CMYKcmyk(0%, 76%, 78.9%, 31.4%)
CIE-LABlab(39.42, 52.66, 36.08)
CIE-LCHlch(39.42, 63.84, 34.42°)
OKLaboklab(49.81% 0.1511 0.0789)
OKLCHoklch(49.81% 0.17 27.6)
XYZxyz(18.8433, 10.9064, 2.8629)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A25 #25AAAF
analogous
#AF2565 #AF2A25 #AF6F25
triadic
#AF2A25 #25AF2A #2A25AF
tetradic
#AF2A25 #65AF25 #25AAAF #6F25AF
square
#AF2A25 #65AF25 #25AAAF #6F25AF
split-complementary
#AF2A25 #25AF6F #2565AF
monochromatic
#4A1210 #7C1E1A #AF2A25 #D6413C #E0726E

Accessibility & contrast

On white

6.60
#AF2A25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AF2A25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A25
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A25#FFFFFF#000000##FFFFFF
##AF2A251.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A23
Deuteranopia (green-blind)
#74671F
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2a25;
/* rgb */ color: rgb(175, 42, 37);
/* oklch */ color: oklch(49.8% 0.170 27.6);
Tailwind
colors: {
  custom: {
    50: '#d06f60',
    500: '#af2a25',
    950: '#000000',
  },
}
SCSS
$custom: #af2a25;
$custom-light: #d06f60;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a25",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 37
  },
  "hsl": {
    "h": 2.174,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49807,
    "c": 0.17044,
    "h": 27.6
  },
  "luminance": 0.10903
}

Semantic roles & 50–950 ramp

primary
#AF2A25
secondary
#69C3C7
accent
#E2E840
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2A25

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

Preview Lab → · Contrast checker → · Palette generator →

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