#FFAFA8#FFAFA8

#FFAFA8 is a very light, moderate red. Relative luminance 0.547; OKLCH L 82.9% C 0.095 H 24.9°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#FFAFA8
RGBrgb(255, 175, 168)
HSLhsl(5, 100%, 83%)
HSVhsv(5, 34%, 100%)
CMYKcmyk(0%, 31.4%, 34.1%, 0%)
CIE-LABlab(78.90, 28.38, 15.47)
CIE-LCHlch(78.90, 32.32, 28.59°)
OKLaboklab(82.89% 0.0862 0.04)
OKLCHoklch(82.89% 0.095 24.9)
XYZxyz(63.6400, 54.7514, 44.2543)
Luminance0.5475 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFA8 #A8F8FF
analogous
#FFA8CC #FFAFA8 #FFDBA8
triadic
#FFAFA8 #A8FFAF #AFA8FF
tetradic
#FFAFA8 #CCFFA8 #A8F8FF #DBA8FF
square
#FFAFA8 #CCFFA8 #A8F8FF #DBA8FF
split-complementary
#FFAFA8 #A8FFDB #A8CCFF
monochromatic
#FF3E2E #FF776B #FFAFA8 #FFE3E0 #FFE3E0

Accessibility & contrast

On white

1.76
#FFAFA8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#FFAFA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFA8
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFA8#FFFFFF#000000##000000
##FFAFA81.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFBAA7
Deuteranopia (green-blind)
#D2C9A7
Tritanopia (blue-blind)
#FFA5AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ffafa8;
/* rgb */ color: rgb(255, 175, 168);
/* oklch */ color: oklch(82.9% 0.095 24.9);
Tailwind
colors: {
  custom: {
    50: '#ffc7c1',
    500: '#ffafa8',
    950: '#000000',
  },
}
SCSS
$custom: #ffafa8;
$custom-light: #ffc7c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ffafa8",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 168
  },
  "hsl": {
    "h": 4.828,
    "s": 100,
    "l": 82.941
  },
  "oklch": {
    "l": 0.82887,
    "c": 0.09503,
    "h": 24.9
  },
  "luminance": 0.54747
}

Semantic roles & 50–950 ramp

primary
#FFAFA8
secondary
#67DAE4
accent
#D3E600
background
#FFFDFD
surface
#FFF9F9
border
#D7D2D2
text
#181312
muted
#868282

Preview Lab

Preview with #FFAFA8

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

Preview Lab → · Contrast checker → · Palette generator →

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