#FFA797#FFA797

#FFA797 is a light, moderate red. Relative luminance 0.511; OKLCH L 81.1% C 0.107 H 30.8°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#FFA797
RGBrgb(255, 167, 151)
HSLhsl(9, 100%, 80%)
HSVhsv(9, 41%, 100%)
CMYKcmyk(0%, 34.5%, 40.8%, 0%)
CIE-LABlab(76.76, 30.62, 21.70)
CIE-LCHlch(76.76, 37.53, 35.33°)
OKLaboklab(81.13% 0.0923 0.055)
OKLCHoklch(81.13% 0.107 30.8)
XYZxyz(60.6474, 51.1365, 35.9483)
Luminance0.5113 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFA797 #97EFFF
analogous
#FF97BB #FFA797 #FFDB97
triadic
#FFA797 #97FFA7 #A797FF
tetradic
#FFA797 #BBFF97 #97EFFF #DB97FF
square
#FFA797 #BBFF97 #97EFFF #DB97FF
split-complementary
#FFA797 #97FFDB #97BBFF
monochromatic
#FF3F1D #FF735A #FFA797 #FFDBD4 #FFE5E0

Accessibility & contrast

On white

1.87
#FFA797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#FFA797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFA797
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFA797#FFFFFF#000000##000000
##FFA7971.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBB396
Deuteranopia (green-blind)
#D0C496
Tritanopia (blue-blind)
#FF9BA3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ffa797;
/* rgb */ color: rgb(255, 167, 151);
/* oklch */ color: oklch(81.1% 0.107 30.8);
Tailwind
colors: {
  custom: {
    50: '#ffc2b5',
    500: '#ffa797',
    950: '#000000',
  },
}
SCSS
$custom: #ffa797;
$custom-light: #ffc2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ffa797",
  "rgb": {
    "r": 255,
    "g": 167,
    "b": 151
  },
  "hsl": {
    "h": 9.231,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81126,
    "c": 0.10743,
    "h": 30.8
  },
  "luminance": 0.51132
}

Semantic roles & 50–950 ramp

primary
#FFA797
secondary
#59CDE2
accent
#C2E600
background
#FFFDFD
surface
#FFF9F8
border
#D7D2D1
text
#181211
muted
#868281

Preview Lab

Preview with #FFA797

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

Preview Lab → · Contrast checker → · Palette generator →

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