#AF2A30#AF2A30

#AF2A30 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.169 H 23.7°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#AF2A30
RGBrgb(175, 42, 48)
HSLhsl(357, 61%, 43%)
HSVhsv(357, 76%, 69%)
CMYKcmyk(0%, 76%, 72.6%, 31.4%)
CIE-LABlab(39.56, 53.10, 29.78)
CIE-LCHlch(39.56, 60.88, 29.29°)
OKLaboklab(49.95% 0.1549 0.0679)
OKLCHoklch(49.95% 0.169 23.7)
XYZxyz(19.0428, 10.9862, 3.9136)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A30 #2AAFA9
analogous
#AF2A73 #AF2A30 #AF662A
triadic
#AF2A30 #30AF2A #2A30AF
tetradic
#AF2A30 #73AF2A #2AAFA9 #662AAF
square
#AF2A30 #73AF2A #2AAFA9 #662AAF
split-complementary
#AF2A30 #2AAF66 #2A73AF
monochromatic
#4C1215 #7E1E22 #AF2A30 #D2444A #DE757A

Accessibility & contrast

On white

6.57
#AF2A30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#AF2A30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A30
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A30#FFFFFF#000000##FFFFFF
##AF2A301.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2F
Deuteranopia (green-blind)
#73682B
Tritanopia (blue-blind)
#C1002E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2a30;
/* rgb */ color: rgb(175, 42, 48);
/* oklch */ color: oklch(50.0% 0.169 23.7);
Tailwind
colors: {
  custom: {
    50: '#cf6f68',
    500: '#af2a30',
    950: '#000000',
  },
}
SCSS
$custom: #af2a30;
$custom-light: #cf6f68;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a30",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 48
  },
  "hsl": {
    "h": 357.293,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4995,
    "c": 0.16913,
    "h": 23.7
  },
  "luminance": 0.10983
}

Semantic roles & 50–950 ramp

primary
#AF2A30
secondary
#6FC6C2
accent
#E4DD43
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2A30

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

Preview Lab → · Contrast checker → · Palette generator →

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