#FFAFA7#FFAFA7

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

Color values

HEX#FFAFA7
RGBrgb(255, 175, 167)
HSLhsl(5, 100%, 83%)
HSVhsv(5, 35%, 100%)
CMYKcmyk(0%, 31.4%, 34.5%, 0%)
CIE-LABlab(78.88, 28.26, 15.98)
CIE-LCHlch(78.88, 32.46, 29.49°)
OKLaboklab(82.86% 0.0859 0.0412)
OKLCHoklch(82.86% 0.095 25.6)
XYZxyz(63.5472, 54.7142, 43.7656)
Luminance0.5471 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFA7 #A7F7FF
analogous
#FFA7CB #FFAFA7 #FFDBA7
triadic
#FFAFA7 #A7FFAF #AFA7FF
tetradic
#FFAFA7 #CBFFA7 #A7F7FF #DBA7FF
square
#FFAFA7 #CBFFA7 #A7F7FF #DBA7FF
split-complementary
#FFAFA7 #A7FFDB #A7CBFF
monochromatic
#FF402D #FF776A #FFAFA7 #FFE3E0 #FFE3E0

Accessibility & contrast

On white

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

On black

11.94
#FFAFA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFA7
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFA7#FFFFFF#000000##000000
##FFAFA71.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffafa7;
/* rgb */ color: rgb(255, 175, 167);
/* oklch */ color: oklch(82.9% 0.095 25.6);
Tailwind
colors: {
  custom: {
    50: '#ffc7c1',
    500: '#ffafa7',
    950: '#000000',
  },
}
SCSS
$custom: #ffafa7;
$custom-light: #ffc7c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ffafa7",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 167
  },
  "hsl": {
    "h": 5.455,
    "s": 100,
    "l": 82.745
  },
  "oklch": {
    "l": 0.82863,
    "c": 0.09522,
    "h": 25.6
  },
  "luminance": 0.5471
}

Semantic roles & 50–950 ramp

primary
#FFAFA7
secondary
#66D9E4
accent
#D1E600
background
#FFFDFD
surface
#FFF9F9
border
#D7D2D2
text
#181312
muted
#868282

Preview Lab

Preview with #FFAFA7

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

Preview Lab → · Contrast checker → · Palette generator →

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