#AF3F38#AF3F38

#AF3F38 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.3% C 0.148 H 27.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AF3F38
RGBrgb(175, 63, 56)
HSLhsl(4, 52%, 45%)
HSVhsv(4, 68%, 69%)
CMYKcmyk(0%, 64%, 68%, 31.4%)
CIE-LABlab(42.70, 45.24, 28.74)
CIE-LCHlch(42.70, 53.59, 32.43°)
OKLaboklab(52.34% 0.1317 0.067)
OKLCHoklch(52.34% 0.148 27)
XYZxyz(20.1726, 12.9573, 5.1794)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3F38 #38A8AF
analogous
#AF386D #AF3F38 #AF7A38
triadic
#AF3F38 #38AF3F #3F38AF
tetradic
#AF3F38 #6DAF38 #38A8AF #7A38AF
square
#AF3F38 #6DAF38 #38A8AF #7A38AF
split-complementary
#AF3F38 #38AF7A #386DAF
monochromatic
#521E1A #812E29 #AF3F38 #CA615A #D98D88

Accessibility & contrast

On white

5.85
#AF3F38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AF3F38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3F38
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3F38#FFFFFF#000000##FFFFFF
##AF3F381.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5637
Deuteranopia (green-blind)
#796E35
Tritanopia (blue-blind)
#C0253E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3f38;
/* rgb */ color: rgb(175, 63, 56);
/* oklch */ color: oklch(52.3% 0.148 27.0);
Tailwind
colors: {
  custom: {
    50: '#ce796f',
    500: '#af3f38',
    950: '#000000',
  },
}
SCSS
$custom: #af3f38;
$custom-light: #ce796f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3f38",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 56
  },
  "hsl": {
    "h": 3.529,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52336,
    "c": 0.14779,
    "h": 27
  },
  "luminance": 0.12954
}

Semantic roles & 50–950 ramp

primary
#AF3F38
secondary
#80BFC3
accent
#D3DB4D
background
#FDF7F6
surface
#FBEEEC
border
#D4C9C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #AF3F38

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

Preview Lab → · Contrast checker → · Palette generator →

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