#AF4238#AF4238

#AF4238 is a mid, vivid red. Relative luminance 0.133; OKLCH L 52.7% C 0.145 H 28.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AF4238
RGBrgb(175, 66, 56)
HSLhsl(5, 52%, 45%)
HSVhsv(5, 68%, 69%)
CMYKcmyk(0%, 62.3%, 68%, 31.4%)
CIE-LABlab(43.21, 43.87, 29.36)
CIE-LCHlch(43.21, 52.79, 33.79°)
OKLaboklab(52.72% 0.1274 0.0684)
OKLCHoklch(52.72% 0.145 28.2)
XYZxyz(20.3433, 13.2987, 5.2363)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4238 #38A5AF
analogous
#AF3869 #AF4238 #AF7D38
triadic
#AF4238 #38AF42 #4238AF
tetradic
#AF4238 #69AF38 #38A5AF #7D38AF
square
#AF4238 #69AF38 #38A5AF #7D38AF
split-complementary
#AF4238 #38AF7D #3869AF
monochromatic
#521F1A #813129 #AF4238 #CA635A #D98F88

Accessibility & contrast

On white

5.74
#AF4238 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AF4238 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4238
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4238#FFFFFF#000000##FFFFFF
##AF42381.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af4238;
/* rgb */ color: rgb(175, 66, 56);
/* oklch */ color: oklch(52.7% 0.145 28.2);
Tailwind
colors: {
  custom: {
    50: '#ce7b6f',
    500: '#af4238',
    950: '#000000',
  },
}
SCSS
$custom: #af4238;
$custom-light: #ce7b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#af4238",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 56
  },
  "hsl": {
    "h": 5.042,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52721,
    "c": 0.14462,
    "h": 28.2
  },
  "luminance": 0.13296
}

Semantic roles & 50–950 ramp

primary
#AF4238
secondary
#80BDC3
accent
#CFDB4D
background
#FDF7F6
surface
#FBEEEC
border
#D4C9C7
text
#150A07
muted
#837C7A

Preview Lab

Preview with #AF4238

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

Preview Lab → · Contrast checker → · Palette generator →

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