#AF2E3D#AF2E3D

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

Color values

HEX#AF2E3D
RGBrgb(175, 46, 61)
HSLhsl(353, 58%, 43%)
HSVhsv(353, 74%, 69%)
CMYKcmyk(0%, 73.7%, 65.1%, 31.4%)
CIE-LABlab(40.26, 52.40, 22.67)
CIE-LCHlch(40.26, 57.10, 23.39°)
OKLaboklab(50.54% 0.1555 0.0541)
OKLCHoklch(50.54% 0.165 19.2)
XYZxyz(19.5006, 11.4077, 5.5891)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E3D #2EAFA0
analogous
#AF2E7D #AF2E3D #AF5F2E
triadic
#AF2E3D #3DAF2E #2E3DAF
tetradic
#AF2E3D #7DAF2E #2EAFA0 #5F2EAF
square
#AF2E3D #7DAF2E #2EAFA0 #5F2EAF
split-complementary
#AF2E3D #2EAF5F #2E7DAF
monochromatic
#4E151B #7F212C #AF2E3D #D04B5A #DC7B86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2E3D#FFFFFF#000000##FFFFFF
##AF2E3D1.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)
#524E3D
Deuteranopia (green-blind)
#736939
Tritanopia (blue-blind)
#C00035
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2e3d;
/* rgb */ color: rgb(175, 46, 61);
/* oklch */ color: oklch(50.5% 0.165 19.2);
Tailwind
colors: {
  custom: {
    50: '#ce7172',
    500: '#af2e3d',
    950: '#000000',
  },
}
SCSS
$custom: #af2e3d;
$custom-light: #ce7172;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e3d",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 61
  },
  "hsl": {
    "h": 353.023,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50538,
    "c": 0.1646,
    "h": 19.2
  },
  "luminance": 0.11405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2E3D

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

Preview Lab → · Contrast checker → · Palette generator →

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