#F8AFA2#F8AFA2

#F8AFA2 is a light, moderate red. Relative luminance 0.532; OKLCH L 82.0% C 0.088 H 30.3°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#F8AFA2
RGBrgb(248, 175, 162)
HSLhsl(9, 86%, 80%)
HSVhsv(9, 35%, 97%)
CMYKcmyk(0%, 29.4%, 34.7%, 2.7%)
CIE-LABlab(78.01, 25.04, 17.36)
CIE-LCHlch(78.01, 30.47, 34.73°)
OKLaboklab(81.99% 0.0762 0.0446)
OKLCHoklch(81.99% 0.088 30.3)
XYZxyz(60.5650, 53.2289, 41.2596)
Luminance0.5323 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8AFA2 #A2EBF8
analogous
#F8A2C0 #F8AFA2 #F8DAA2
triadic
#F8AFA2 #A2F8AF #AFA2F8
tetradic
#F8AFA2 #C0F8A2 #A2EBF8 #DAA2F8
square
#F8AFA2 #C0F8A2 #A2EBF8 #DAA2F8
split-complementary
#F8AFA2 #A2F8DA #A2C0F8
monochromatic
#EF4D30 #F47E69 #F8AFA2 #FCE0DB #FDE7E3

Accessibility & contrast

On white

1.80
#F8AFA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#F8AFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8AFA2
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8AFA2#FFFFFF#000000##000000
##F8AFA21.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFB8A1
Deuteranopia (green-blind)
#D0C7A1
Tritanopia (blue-blind)
#FFA5AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #f8afa2;
/* rgb */ color: rgb(248, 175, 162);
/* oklch */ color: oklch(82.0% 0.088 30.3);
Tailwind
colors: {
  custom: {
    50: '#fcc7bd',
    500: '#f8afa2',
    950: '#000000',
  },
}
SCSS
$custom: #f8afa2;
$custom-light: #fcc7bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f8afa2",
  "rgb": {
    "r": 248,
    "g": 175,
    "b": 162
  },
  "hsl": {
    "h": 9.07,
    "s": 86,
    "l": 80.392
  },
  "oklch": {
    "l": 0.81991,
    "c": 0.08827,
    "h": 30.3
  },
  "luminance": 0.53225
}

Semantic roles & 50–950 ramp

primary
#F8AFA2
secondary
#65C7D9
accent
#C1E303
background
#FFFDFD
surface
#FFF9F8
border
#D7D2D1
text
#181312
muted
#868282

Preview Lab

Preview with #F8AFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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