#AF2E2E#AF2E2E

#AF2E2E is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.3% C 0.166 H 25.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AF2E2E
RGBrgb(175, 46, 46)
HSLhsl(0, 58%, 43%)
HSVhsv(0, 74%, 69%)
CMYKcmyk(0%, 73.7%, 73.7%, 31.4%)
CIE-LABlab(40.03, 51.63, 31.53)
CIE-LCHlch(40.03, 60.49, 31.41°)
OKLaboklab(50.29% 0.1498 0.0713)
OKLCHoklch(50.29% 0.166 25.5)
XYZxyz(19.1515, 11.2681, 3.7508)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E2E #2EAFAF
analogous
#AF2E6E #AF2E2E #AF6E2E
triadic
#AF2E2E #2EAF2E #2E2EAF
tetradic
#AF2E2E #6EAF2E #2EAFAF #6E2EAF
square
#AF2E2E #6EAF2E #2EAFAF #6E2EAF
split-complementary
#AF2E2E #2EAF6E #2E6EAF
monochromatic
#4E1515 #7F2121 #AF2E2E #D04B4B #DC7B7B

Accessibility & contrast

On white

6.46
#AF2E2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AF2E2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E2E
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E2E#FFFFFF#000000##FFFFFF
##AF2E2E1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D2D
Deuteranopia (green-blind)
#746829
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2e2e;
/* rgb */ color: rgb(175, 46, 46);
/* oklch */ color: oklch(50.3% 0.166 25.5);
Tailwind
colors: {
  custom: {
    50: '#cf7167',
    500: '#af2e2e',
    950: '#000000',
  },
}
SCSS
$custom: #af2e2e;
$custom-light: #cf7167;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e2e",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 46
  },
  "hsl": {
    "h": 0,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50293,
    "c": 0.16588,
    "h": 25.5
  },
  "luminance": 0.11265
}

Semantic roles & 50–950 ramp

primary
#AF2E2E
secondary
#74C5C5
accent
#E2E246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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