#FFAF97#FFAF97

#FFAF97 is a very light, moderate red. Relative luminance 0.542; OKLCH L 82.5% C 0.100 H 37.4°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#FFAF97
RGBrgb(255, 175, 151)
HSLhsl(14, 100%, 80%)
HSVhsv(14, 41%, 100%)
CMYKcmyk(0%, 31.4%, 40.8%, 0%)
CIE-LABlab(78.55, 26.44, 24.15)
CIE-LCHlch(78.55, 35.81, 42.41°)
OKLaboklab(82.51% 0.0797 0.0609)
OKLCHoklch(82.51% 0.1 37.4)
XYZxyz(62.1586, 54.1588, 36.4520)
Luminance0.5415 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAF97 #97E7FF
analogous
#FF97B3 #FFAF97 #FFE397
triadic
#FFAF97 #97FFAF #AF97FF
tetradic
#FFAF97 #B3FF97 #97E7FF #E397FF
square
#FFAF97 #B3FF97 #97E7FF #E397FF
split-complementary
#FFAF97 #97FFE3 #97B3FF
monochromatic
#FF511D #FF805A #FFAF97 #FFDED4 #FFE7E0

Accessibility & contrast

On white

1.78
#FFAF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#FFAF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAF97
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAF97#FFFFFF#000000##000000
##FFAF971.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B995
Deuteranopia (green-blind)
#D5C996
Tritanopia (blue-blind)
#FFA3A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ffaf97;
/* rgb */ color: rgb(255, 175, 151);
/* oklch */ color: oklch(82.5% 0.100 37.4);
Tailwind
colors: {
  custom: {
    50: '#ffc7b5',
    500: '#ffaf97',
    950: '#000000',
  },
}
SCSS
$custom: #ffaf97;
$custom-light: #ffc7b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ffaf97",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 151
  },
  "hsl": {
    "h": 13.846,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.82509,
    "c": 0.10028,
    "h": 37.4
  },
  "luminance": 0.54154
}

Semantic roles & 50–950 ramp

primary
#FFAF97
secondary
#59C2E2
accent
#B1E600
background
#FFFDFD
surface
#FFF9F8
border
#D7D2D1
text
#181311
muted
#868281

Preview Lab

Preview with #FFAF97

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

Preview Lab → · Contrast checker → · Palette generator →

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