#FFAF98#FFAF98

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

Color values

HEX#FFAF98
RGBrgb(255, 175, 152)
HSLhsl(13, 100%, 80%)
HSVhsv(13, 40%, 100%)
CMYKcmyk(0%, 31.4%, 40.4%, 0%)
CIE-LABlab(78.57, 26.55, 23.64)
CIE-LCHlch(78.57, 35.55, 41.69°)
OKLaboklab(82.53% 0.08 0.0597)
OKLCHoklch(82.53% 0.1 36.7)
XYZxyz(62.2401, 54.1914, 36.8815)
Luminance0.5419 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAF98 #98E8FF
analogous
#FF98B5 #FFAF98 #FFE398
triadic
#FFAF98 #98FFAF #AF98FF
tetradic
#FFAF98 #B5FF98 #98E8FF #E398FF
square
#FFAF98 #B5FF98 #98E8FF #E398FF
split-complementary
#FFAF98 #98FFE3 #98B5FF
monochromatic
#FF501E #FF7F5B #FFAF98 #FFDFD5 #FFE7E0

Accessibility & contrast

On white

1.77
#FFAF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#FFAF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAF98
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAF98#FFFFFF#000000##000000
##FFAF981.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffaf98;
/* rgb */ color: rgb(255, 175, 152);
/* oklch */ color: oklch(82.5% 0.100 36.7);
Tailwind
colors: {
  custom: {
    50: '#ffc7b6',
    500: '#ffaf98',
    950: '#000000',
  },
}
SCSS
$custom: #ffaf98;
$custom-light: #ffc7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffaf98",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 152
  },
  "hsl": {
    "h": 13.398,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.8253,
    "c": 0.09986,
    "h": 36.7
  },
  "luminance": 0.54187
}

Semantic roles & 50–950 ramp

primary
#FFAF98
secondary
#59C3E2
accent
#B2E600
background
#FFFDFD
surface
#FFF9F8
border
#D7D2D1
text
#181311
muted
#868281

Preview Lab

Preview with #FFAF98

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

Preview Lab → · Contrast checker → · Palette generator →

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