#AF5134#AF5134

#AF5134 is a mid, vivid red. Relative luminance 0.152; OKLCH L 54.8% C 0.130 H 37.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AF5134
RGBrgb(175, 81, 52)
HSLhsl(14, 54%, 45%)
HSVhsv(14, 70%, 69%)
CMYKcmyk(0%, 53.7%, 70.3%, 31.4%)
CIE-LABlab(45.97, 36.31, 34.89)
CIE-LCHlch(45.97, 50.35, 43.86°)
OKLaboklab(54.8% 0.1032 0.0798)
OKLCHoklch(54.8% 0.13 37.7)
XYZxyz(21.2435, 15.2494, 5.0729)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5134 #3492AF
analogous
#AF3455 #AF5134 #AF8E34
triadic
#AF5134 #34AF51 #5134AF
tetradic
#AF5134 #55AF34 #3492AF #8E34AF
square
#AF5134 #55AF34 #3492AF #8E34AF
split-complementary
#AF5134 #34AF8E #3455AF
monochromatic
#512518 #803B26 #AF5134 #CC7054 #DA9883

Accessibility & contrast

On white

5.19
#AF5134 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AF5134 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5134
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5134#FFFFFF#000000##FFFFFF
##AF51341.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6031
Deuteranopia (green-blind)
#817532
Tritanopia (blue-blind)
#C03E4A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af5134;
/* rgb */ color: rgb(175, 81, 52);
/* oklch */ color: oklch(54.8% 0.130 37.7);
Tailwind
colors: {
  custom: {
    50: '#cd846c',
    500: '#af5134',
    950: '#000000',
  },
}
SCSS
$custom: #af5134;
$custom-light: #cd846c;
$custom-dark: #000000;
JSON
{
  "hex": "#af5134",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 52
  },
  "hsl": {
    "h": 14.146,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54795,
    "c": 0.13043,
    "h": 37.7
  },
  "luminance": 0.15247
}

Semantic roles & 50–950 ramp

primary
#AF5134
secondary
#7BB3C4
accent
#BBDE4A
background
#FDF8F6
surface
#FAEFEB
border
#D3CAC6
text
#150B07
muted
#837C7A

Preview Lab

Preview with #AF5134

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

Preview Lab → · Contrast checker → · Palette generator →

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