#AF3F2D#AF3F2D

#AF3F2D is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.2% C 0.150 H 31.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AF3F2D
RGBrgb(175, 63, 45)
HSLhsl(8, 59%, 43%)
HSVhsv(8, 74%, 69%)
CMYKcmyk(0%, 64%, 74.3%, 31.4%)
CIE-LABlab(42.55, 44.67, 34.94)
CIE-LCHlch(42.55, 56.72, 38.03°)
OKLaboklab(52.18% 0.1277 0.0785)
OKLCHoklch(52.18% 0.15 31.6)
XYZxyz(19.9325, 12.8613, 3.9150)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3F2D #2D9DAF
analogous
#AF2D5C #AF3F2D #AF802D
triadic
#AF3F2D #2DAF3F #3F2DAF
tetradic
#AF3F2D #5CAF2D #2D9DAF #802DAF
square
#AF3F2D #5CAF2D #2D9DAF #802DAF
split-complementary
#AF3F2D #2DAF80 #2D5CAF
monochromatic
#4E1C14 #7E2D20 #AF3F2D #D05C49 #DD877A

Accessibility & contrast

On white

5.88
#AF3F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AF3F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3F2D
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3F2D#FFFFFF#000000##FFFFFF
##AF3F2D1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552A
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#C0233B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3f2d;
/* rgb */ color: rgb(175, 63, 45);
/* oklch */ color: oklch(52.2% 0.150 31.6);
Tailwind
colors: {
  custom: {
    50: '#ce7967',
    500: '#af3f2d',
    950: '#000000',
  },
}
SCSS
$custom: #af3f2d;
$custom-light: #ce7967;
$custom-dark: #000000;
JSON
{
  "hex": "#af3f2d",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 45
  },
  "hsl": {
    "h": 8.308,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5218,
    "c": 0.14994,
    "h": 31.6
  },
  "luminance": 0.12858
}

Semantic roles & 50–950 ramp

primary
#AF3F2D
secondary
#73BAC5
accent
#CDE246
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AF3F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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