#AF2A38#AF2A38

#AF2A38 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.168 H 20.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AF2A38
RGBrgb(175, 42, 56)
HSLhsl(354, 61%, 43%)
HSVhsv(354, 76%, 69%)
CMYKcmyk(0%, 76%, 68%, 31.4%)
CIE-LABlab(39.68, 53.50, 25.04)
CIE-LCHlch(39.68, 59.07, 25.08°)
OKLaboklab(50.08% 0.1579 0.0588)
OKLCHoklch(50.08% 0.168 20.4)
XYZxyz(19.2231, 11.0583, 4.8629)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A38 #2AAFA1
analogous
#AF2A7B #AF2A38 #AF5E2A
triadic
#AF2A38 #38AF2A #2A38AF
tetradic
#AF2A38 #7BAF2A #2AAFA1 #5E2AAF
square
#AF2A38 #7BAF2A #2AAFA1 #5E2AAF
split-complementary
#AF2A38 #2AAF5E #2A7BAF
monochromatic
#4C1218 #7E1E28 #AF2A38 #D24453 #DE7580

Accessibility & contrast

On white

6.54
#AF2A38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AF2A38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A38
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A38#FFFFFF#000000##FFFFFF
##AF2A381.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B37
Deuteranopia (green-blind)
#726834
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2a38;
/* rgb */ color: rgb(175, 42, 56);
/* oklch */ color: oklch(50.1% 0.168 20.4);
Tailwind
colors: {
  custom: {
    50: '#cf6f6e',
    500: '#af2a38',
    950: '#000000',
  },
}
SCSS
$custom: #af2a38;
$custom-light: #cf6f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a38",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 56
  },
  "hsl": {
    "h": 353.684,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50079,
    "c": 0.16849,
    "h": 20.4
  },
  "luminance": 0.11055
}

Semantic roles & 50–950 ramp

primary
#AF2A38
secondary
#6FC6BC
accent
#E4D343
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2A38

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

Preview Lab → · Contrast checker → · Palette generator →

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