#AF4F4E#AF4F4E

#AF4F4E is a mid, vivid red. Relative luminance 0.153; OKLCH L 54.9% C 0.126 H 22.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AF4F4E
RGBrgb(175, 79, 78)
HSLhsl(1, 38%, 50%)
HSVhsv(1, 55%, 69%)
CMYKcmyk(0%, 54.9%, 55.4%, 31.4%)
CIE-LABlab(45.99, 39.12, 19.75)
CIE-LCHlch(45.99, 43.83, 26.78°)
OKLaboklab(54.94% 0.1164 0.0487)
OKLCHoklch(54.94% 0.126 22.7)
XYZxyz(21.8521, 15.2585, 9.0007)
Luminance0.1526 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4F4E #4EAEAF
analogous
#AF4E7D #AF4F4E #AF804E
triadic
#AF4F4E #4EAF4F #4F4EAF
tetradic
#AF4F4E #7DAF4E #4EAEAF #804EAF
square
#AF4F4E #7DAF4E #4EAEAF #804EAF
split-complementary
#AF4F4E #4EAF80 #4E7DAF
monochromatic
#5A2928 #853C3B #AF4F4E #C37878 #D6A2A2

Accessibility & contrast

On white

5.18
#AF4F4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF4F4E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4F4E#FFFFFF#000000##FFFFFF
##AF4F4E1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66604D
Deuteranopia (green-blind)
#7E744C
Tritanopia (blue-blind)
#BF3F50
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4f4e;
/* rgb */ color: rgb(175, 79, 78);
/* oklch */ color: oklch(54.9% 0.126 22.7);
Tailwind
colors: {
  custom: {
    50: '#cc837f',
    500: '#af4f4e',
    950: '#000000',
  },
}
SCSS
$custom: #af4f4e;
$custom-light: #cc837f;
$custom-dark: #000000;
JSON
{
  "hex": "#af4f4e",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 78
  },
  "hsl": {
    "h": 0.619,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54937,
    "c": 0.1262,
    "h": 22.7
  },
  "luminance": 0.15256
}

Semantic roles & 50–950 ramp

primary
#AF4F4E
secondary
#96C2C3
accent
#CDCE5A
background
#FDF8F7
surface
#FAEFEE
border
#D3CAC9
text
#140B0A
muted
#837C7C

Preview Lab

Preview with #AF4F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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