#AF4138#AF4138

#AF4138 is a mid, vivid red. Relative luminance 0.132; OKLCH L 52.6% C 0.146 H 27.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AF4138
RGBrgb(175, 65, 56)
HSLhsl(5, 52%, 45%)
HSVhsv(5, 68%, 69%)
CMYKcmyk(0%, 62.9%, 68%, 31.4%)
CIE-LABlab(43.04, 44.33, 29.15)
CIE-LCHlch(43.04, 53.05, 33.33°)
OKLaboklab(52.59% 0.1289 0.0679)
OKLCHoklch(52.59% 0.146 27.8)
XYZxyz(20.2853, 13.1829, 5.2170)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4138 #38A6AF
analogous
#AF386A #AF4138 #AF7D38
triadic
#AF4138 #38AF41 #4138AF
tetradic
#AF4138 #6AAF38 #38A6AF #7D38AF
square
#AF4138 #6AAF38 #38A6AF #7D38AF
split-complementary
#AF4138 #38AF7D #386AAF
monochromatic
#521F1A #813029 #AF4138 #CA625A #D98E88

Accessibility & contrast

On white

5.78
#AF4138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AF4138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4138
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4138#FFFFFF#000000##FFFFFF
##AF41381.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5736
Deuteranopia (green-blind)
#7A6F35
Tritanopia (blue-blind)
#C02840
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af4138;
/* rgb */ color: rgb(175, 65, 56);
/* oklch */ color: oklch(52.6% 0.146 27.8);
Tailwind
colors: {
  custom: {
    50: '#ce7b6f',
    500: '#af4138',
    950: '#000000',
  },
}
SCSS
$custom: #af4138;
$custom-light: #ce7b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#af4138",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 56
  },
  "hsl": {
    "h": 4.538,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52591,
    "c": 0.14568,
    "h": 27.8
  },
  "luminance": 0.1318
}

Semantic roles & 50–950 ramp

primary
#AF4138
secondary
#80BEC3
accent
#D0DB4D
background
#FDF7F6
surface
#FBEEEC
border
#D4C9C7
text
#150A07
muted
#837C7A

Preview Lab

Preview with #AF4138

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

Preview Lab → · Contrast checker → · Palette generator →

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