#AF2E3F#AF2E3F

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

Color values

HEX#AF2E3F
RGBrgb(175, 46, 63)
HSLhsl(352, 58%, 43%)
HSVhsv(352, 74%, 69%)
CMYKcmyk(0%, 73.7%, 64%, 31.4%)
CIE-LABlab(40.30, 52.52, 21.47)
CIE-LCHlch(40.30, 56.74, 22.23°)
OKLaboklab(50.58% 0.1563 0.0516)
OKLCHoklch(50.58% 0.165 18.3)
XYZxyz(19.5554, 11.4297, 5.8781)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E3F #2EAF9E
analogous
#AF2E7F #AF2E3F #AF5D2E
triadic
#AF2E3F #3FAF2E #2E3FAF
tetradic
#AF2E3F #7FAF2E #2EAF9E #5D2EAF
square
#AF2E3F #7FAF2E #2EAF9E #5D2EAF
split-complementary
#AF2E3F #2EAF5D #2E7FAF
monochromatic
#4E151C #7F212E #AF2E3F #D04B5C #DC7B88

Accessibility & contrast

On white

6.39
#AF2E3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AF2E3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E3F
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E3F#FFFFFF#000000##FFFFFF
##AF2E3F1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524E3F
Deuteranopia (green-blind)
#72693B
Tritanopia (blue-blind)
#C00035
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2e3f;
/* rgb */ color: rgb(175, 46, 63);
/* oklch */ color: oklch(50.6% 0.165 18.3);
Tailwind
colors: {
  custom: {
    50: '#ce7173',
    500: '#af2e3f',
    950: '#000000',
  },
}
SCSS
$custom: #af2e3f;
$custom-light: #ce7173;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e3f",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 63
  },
  "hsl": {
    "h": 352.093,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50577,
    "c": 0.16454,
    "h": 18.3
  },
  "luminance": 0.11427
}

Semantic roles & 50–950 ramp

primary
#AF2E3F
secondary
#74C5BA
accent
#E2CD46
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF2E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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