#AF1F3E#AF1F3E

#AF1F3E is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.3% C 0.177 H 15.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#AF1F3E
RGBrgb(175, 31, 62)
HSLhsl(347, 70%, 40%)
HSVhsv(347, 82%, 69%)
CMYKcmyk(0%, 82.3%, 64.6%, 31.4%)
CIE-LABlab(38.63, 57.09, 19.94)
CIE-LCHlch(38.63, 60.48, 19.26°)
OKLaboklab(49.34% 0.1707 0.048)
OKLCHoklch(49.34% 0.177 15.7)
XYZxyz(19.0408, 10.4447, 5.5699)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF1F3E #1FAF90
analogous
#AF1F86 #AF1F3E #AF481F
triadic
#AF1F3E #3EAF1F #1F3EAF
tetradic
#AF1F3E #86AF1F #1FAF90 #481FAF
square
#AF1F3E #86AF1F #1FAF90 #481FAF
split-complementary
#AF1F3E #1FAF48 #1F86AF
monochromatic
#470D19 #7B162C #AF1F3E #DA3155 #E46580

Accessibility & contrast

On white

6.80
#AF1F3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#AF1F3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF1F3E
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF1F3E#FFFFFF#000000##FFFFFF
##AF1F3E1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B483E
Deuteranopia (green-blind)
#6F663A
Tritanopia (blue-blind)
#C0002D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af1f3e;
/* rgb */ color: rgb(175, 31, 62);
/* oklch */ color: oklch(49.3% 0.177 15.7);
Tailwind
colors: {
  custom: {
    50: '#cf6b73',
    500: '#af1f3e',
    950: '#000000',
  },
}
SCSS
$custom: #af1f3e;
$custom-light: #cf6b73;
$custom-dark: #000000;
JSON
{
  "hex": "#af1f3e",
  "rgb": {
    "r": 175,
    "g": 31,
    "b": 62
  },
  "hsl": {
    "h": 347.083,
    "s": 69.903,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49337,
    "c": 0.17733,
    "h": 15.7
  },
  "luminance": 0.10442
}

Semantic roles & 50–950 ramp

primary
#AF1F3E
secondary
#61C9B2
accent
#EDC63B
background
#FDF6F6
surface
#FBECEC
border
#D4C7C7
text
#150808
muted
#837A7B

Preview Lab

Preview with #AF1F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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