#AF3128#AF3128

#AF3128 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.5% C 0.164 H 28.5°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#AF3128
RGBrgb(175, 49, 40)
HSLhsl(4, 63%, 42%)
HSVhsv(4, 77%, 69%)
CMYKcmyk(0%, 72%, 77.1%, 31.4%)
CIE-LABlab(40.36, 50.27, 35.37)
CIE-LCHlch(40.36, 61.47, 35.13°)
OKLaboklab(50.51% 0.1442 0.0782)
OKLCHoklch(50.51% 0.164 28.5)
XYZxyz(19.1627, 11.4667, 3.2114)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3128 #28A6AF
analogous
#AF2863 #AF3128 #AF7528
triadic
#AF3128 #28AF31 #3128AF
tetradic
#AF3128 #63AF28 #28A6AF #7528AF
square
#AF3128 #63AF28 #28A6AF #7528AF
split-complementary
#AF3128 #28AF75 #2863AF
monochromatic
#4B1511 #7D231D #AF3128 #D44A41 #DF7A73

Accessibility & contrast

On white

6.38
#AF3128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3128
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3128#FFFFFF#000000##FFFFFF
##AF31281.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E26
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af3128;
/* rgb */ color: rgb(175, 49, 40);
/* oklch */ color: oklch(50.5% 0.164 28.5);
Tailwind
colors: {
  custom: {
    50: '#cf7263',
    500: '#af3128',
    950: '#000000',
  },
}
SCSS
$custom: #af3128;
$custom-light: #cf7263;
$custom-dark: #000000;
JSON
{
  "hex": "#af3128",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 40
  },
  "hsl": {
    "h": 4,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50514,
    "c": 0.16407,
    "h": 28.5
  },
  "luminance": 0.11464
}

Semantic roles & 50–950 ramp

primary
#AF3128
secondary
#6DC0C6
accent
#DBE642
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AF3128

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

Preview Lab → · Contrast checker → · Palette generator →

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