#FFA798#FFA798

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

Color values

HEX#FFA798
RGBrgb(255, 167, 152)
HSLhsl(9, 100%, 80%)
HSVhsv(9, 40%, 100%)
CMYKcmyk(0%, 34.5%, 40.4%, 0%)
CIE-LABlab(76.78, 30.73, 21.19)
CIE-LCHlch(76.78, 37.33, 34.59°)
OKLaboklab(81.15% 0.0927 0.0538)
OKLCHoklch(81.15% 0.107 30.1)
XYZxyz(60.7290, 51.1691, 36.3778)
Luminance0.5116 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFA798 #98F0FF
analogous
#FF98BD #FFA798 #FFDB98
triadic
#FFA798 #98FFA7 #A798FF
tetradic
#FFA798 #BDFF98 #98F0FF #DB98FF
square
#FFA798 #BDFF98 #98F0FF #DB98FF
split-complementary
#FFA798 #98FFDB #98BDFF
monochromatic
#FF3E1E #FF735B #FFA798 #FFDBD5 #FFE5E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFA798#FFFFFF#000000##000000
##FFA7981.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)
#BBB397
Deuteranopia (green-blind)
#D0C497
Tritanopia (blue-blind)
#FF9BA3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ffa798;
/* rgb */ color: rgb(255, 167, 152);
/* oklch */ color: oklch(81.1% 0.107 30.1);
Tailwind
colors: {
  custom: {
    50: '#ffc2b6',
    500: '#ffa798',
    950: '#000000',
  },
}
SCSS
$custom: #ffa798;
$custom-light: #ffc2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffa798",
  "rgb": {
    "r": 255,
    "g": 167,
    "b": 152
  },
  "hsl": {
    "h": 8.738,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.81148,
    "c": 0.10714,
    "h": 30.1
  },
  "luminance": 0.51164
}

Semantic roles & 50–950 ramp

primary
#FFA798
secondary
#59CEE2
accent
#C4E600
background
#FFFDFD
surface
#FFF9F8
border
#D7D2D1
text
#181211
muted
#868281

Preview Lab

Preview with #FFA798

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

Preview Lab → · Contrast checker → · Palette generator →

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