#AF3127#AF3127

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

Color values

HEX#AF3127
RGBrgb(175, 49, 39)
HSLhsl(4, 64%, 42%)
HSVhsv(4, 78%, 69%)
CMYKcmyk(0%, 72%, 77.7%, 31.4%)
CIE-LABlab(40.34, 50.23, 35.93)
CIE-LCHlch(40.34, 61.76, 35.57°)
OKLaboklab(50.5% 0.1439 0.0791)
OKLCHoklch(50.5% 0.164 28.8)
XYZxyz(19.1459, 11.4600, 3.1229)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3127 #27A5AF
analogous
#AF2761 #AF3127 #AF7527
triadic
#AF3127 #27AF31 #3127AF
tetradic
#AF3127 #61AF27 #27A5AF #7527AF
square
#AF3127 #61AF27 #27A5AF #7527AF
split-complementary
#AF3127 #27AF75 #2761AF
monochromatic
#4B1511 #7D231C #AF3127 #D44A3F #DF7971

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3127#FFFFFF#000000##FFFFFF
##AF31271.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)
#564E25
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af3127;
/* rgb */ color: rgb(175, 49, 39);
/* oklch */ color: oklch(50.5% 0.164 28.8);
Tailwind
colors: {
  custom: {
    50: '#cf7262',
    500: '#af3127',
    950: '#000000',
  },
}
SCSS
$custom: #af3127;
$custom-light: #cf7262;
$custom-dark: #000000;
JSON
{
  "hex": "#af3127",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 39
  },
  "hsl": {
    "h": 4.412,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50502,
    "c": 0.16422,
    "h": 28.8
  },
  "luminance": 0.11457
}

Semantic roles & 50–950 ramp

primary
#AF3127
secondary
#6BC0C6
accent
#DAE741
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AF3127

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

Preview Lab → · Contrast checker → · Palette generator →

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