#FFAFA2#FFAFA2

#FFAFA2 is a very light, moderate red. Relative luminance 0.545; OKLCH L 82.7% C 0.096 H 29.5°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#FFAFA2
RGBrgb(255, 175, 162)
HSLhsl(8, 100%, 82%)
HSVhsv(8, 36%, 100%)
CMYKcmyk(0%, 31.4%, 36.5%, 0%)
CIE-LABlab(78.77, 27.67, 18.53)
CIE-LCHlch(78.77, 33.30, 33.81°)
OKLaboklab(82.75% 0.0839 0.0475)
OKLCHoklch(82.75% 0.096 29.5)
XYZxyz(63.0939, 54.5329, 41.3782)
Luminance0.5453 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFA2 #A2F2FF
analogous
#FFA2C4 #FFAFA2 #FFDEA2
triadic
#FFAFA2 #A2FFAF #AFA2FF
tetradic
#FFAFA2 #C4FFA2 #A2F2FF #DEA2FF
square
#FFAFA2 #C4FFA2 #A2F2FF #DEA2FF
split-complementary
#FFAFA2 #A2FFDE #A2C4FF
monochromatic
#FF4628 #FF7A65 #FFAFA2 #FFE4DF #FFE5E0

Accessibility & contrast

On white

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

On black

11.91
#FFAFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFA2
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFA2#FFFFFF#000000##000000
##FFAFA21.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B9A1
Deuteranopia (green-blind)
#D3C9A1
Tritanopia (blue-blind)
#FFA5AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ffafa2;
/* rgb */ color: rgb(255, 175, 162);
/* oklch */ color: oklch(82.7% 0.096 29.5);
Tailwind
colors: {
  custom: {
    50: '#ffc7bd',
    500: '#ffafa2',
    950: '#000000',
  },
}
SCSS
$custom: #ffafa2;
$custom-light: #ffc7bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ffafa2",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 162
  },
  "hsl": {
    "h": 8.387,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.82748,
    "c": 0.09641,
    "h": 29.5
  },
  "luminance": 0.54529
}

Semantic roles & 50–950 ramp

primary
#FFAFA2
secondary
#62D1E3
accent
#C5E600
background
#FFFDFD
surface
#FFF9F8
border
#D7D2D1
text
#181312
muted
#868282

Preview Lab

Preview with #FFAFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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