#AF2E3E#AF2E3E

#AF2E3E is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.6% C 0.165 H 18.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AF2E3E
RGBrgb(175, 46, 62)
HSLhsl(353, 58%, 43%)
HSVhsv(353, 74%, 69%)
CMYKcmyk(0%, 73.7%, 64.6%, 31.4%)
CIE-LABlab(40.28, 52.46, 22.07)
CIE-LCHlch(40.28, 56.92, 22.82°)
OKLaboklab(50.56% 0.1558 0.0528)
OKLCHoklch(50.56% 0.165 18.7)
XYZxyz(19.5277, 11.4186, 5.7323)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E3E #2EAF9F
analogous
#AF2E7E #AF2E3E #AF5E2E
triadic
#AF2E3E #3EAF2E #2E3EAF
tetradic
#AF2E3E #7EAF2E #2EAF9F #5E2EAF
square
#AF2E3E #7EAF2E #2EAF9F #5E2EAF
split-complementary
#AF2E3E #2EAF5E #2E7EAF
monochromatic
#4E151C #7F212D #AF2E3E #D04B5B #DC7B87

Accessibility & contrast

On white

6.40
#AF2E3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AF2E3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E3E
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E3E#FFFFFF#000000##FFFFFF
##AF2E3E1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524E3E
Deuteranopia (green-blind)
#73693A
Tritanopia (blue-blind)
#C00035
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2e3e;
/* rgb */ color: rgb(175, 46, 62);
/* oklch */ color: oklch(50.6% 0.165 18.7);
Tailwind
colors: {
  custom: {
    50: '#ce7173',
    500: '#af2e3e',
    950: '#000000',
  },
}
SCSS
$custom: #af2e3e;
$custom-light: #ce7173;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e3e",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 62
  },
  "hsl": {
    "h": 352.558,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50557,
    "c": 0.16456,
    "h": 18.7
  },
  "luminance": 0.11416
}

Semantic roles & 50–950 ramp

primary
#AF2E3E
secondary
#74C5BB
accent
#E2CE46
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF2E3E

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

Preview Lab → · Contrast checker → · Palette generator →

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