#F5AFA2#F5AFA2

#F5AFA2 is a light, moderate red. Relative luminance 0.527; OKLCH L 81.7% C 0.085 H 30.8°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#F5AFA2
RGBrgb(245, 175, 162)
HSLhsl(9, 81%, 80%)
HSVhsv(9, 34%, 96%)
CMYKcmyk(0%, 28.6%, 33.9%, 3.9%)
CIE-LABlab(77.69, 23.92, 16.86)
CIE-LCHlch(77.69, 29.26, 35.19°)
OKLaboklab(81.67% 0.0729 0.0434)
OKLCHoklch(81.67% 0.085 30.8)
XYZxyz(59.5096, 52.6848, 41.2102)
Luminance0.5268 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5AFA2 #A2E8F5
analogous
#F5A2BE #F5AFA2 #F5D9A2
triadic
#F5AFA2 #A2F5AF #AFA2F5
tetradic
#F5AFA2 #BEF5A2 #A2E8F5 #D9A2F5
square
#F5AFA2 #BEF5A2 #A2E8F5 #D9A2F5
split-complementary
#F5AFA2 #A2F5D9 #A2BEF5
monochromatic
#E95033 #EF7F6B #F5AFA2 #FBDFD9 #FCE7E3

Accessibility & contrast

On white

1.82
#F5AFA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#F5AFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5AFA2
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5AFA2#FFFFFF#000000##000000
##F5AFA21.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEB8A1
Deuteranopia (green-blind)
#CFC5A1
Tritanopia (blue-blind)
#FFA6AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #f5afa2;
/* rgb */ color: rgb(245, 175, 162);
/* oklch */ color: oklch(81.7% 0.085 30.8);
Tailwind
colors: {
  custom: {
    50: '#fac7bd',
    500: '#f5afa2',
    950: '#000000',
  },
}
SCSS
$custom: #f5afa2;
$custom-light: #fac7bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f5afa2",
  "rgb": {
    "r": 245,
    "g": 175,
    "b": 162
  },
  "hsl": {
    "h": 9.398,
    "s": 80.583,
    "l": 79.804
  },
  "oklch": {
    "l": 0.81671,
    "c": 0.08478,
    "h": 30.8
  },
  "luminance": 0.52681
}

Semantic roles & 50–950 ramp

primary
#F5AFA2
secondary
#67C3D5
accent
#BCDD09
background
#FFFDFD
surface
#FFF9F8
border
#D7D2D1
text
#181312
muted
#868282

Preview Lab

Preview with #F5AFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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