#F7AFA2#F7AFA2

#F7AFA2 is a light, moderate red. Relative luminance 0.530; OKLCH L 81.9% C 0.087 H 30.5°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#F7AFA2
RGBrgb(247, 175, 162)
HSLhsl(9, 84%, 80%)
HSVhsv(9, 34%, 97%)
CMYKcmyk(0%, 29.1%, 34.4%, 3.1%)
CIE-LABlab(77.90, 24.67, 17.19)
CIE-LCHlch(77.90, 30.07, 34.87°)
OKLaboklab(81.88% 0.0751 0.0442)
OKLCHoklch(81.88% 0.087 30.5)
XYZxyz(60.2113, 53.0466, 41.2430)
Luminance0.5304 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7AFA2 #A2EAF7
analogous
#F7A2C0 #F7AFA2 #F7D9A2
triadic
#F7AFA2 #A2F7AF #AFA2F7
tetradic
#F7AFA2 #C0F7A2 #A2EAF7 #D9A2F7
square
#F7AFA2 #C0F7A2 #A2EAF7 #D9A2F7
split-complementary
#F7AFA2 #A2F7D9 #A2C0F7
monochromatic
#ED4E31 #F27F6A #F7AFA2 #FCDFDA #FDE7E3

Accessibility & contrast

On white

1.81
#F7AFA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#F7AFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7AFA2
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7AFA2#FFFFFF#000000##000000
##F7AFA21.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7afa2;
/* rgb */ color: rgb(247, 175, 162);
/* oklch */ color: oklch(81.9% 0.087 30.5);
Tailwind
colors: {
  custom: {
    50: '#fbc7bd',
    500: '#f7afa2',
    950: '#000000',
  },
}
SCSS
$custom: #f7afa2;
$custom-light: #fbc7bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f7afa2",
  "rgb": {
    "r": 247,
    "g": 175,
    "b": 162
  },
  "hsl": {
    "h": 9.176,
    "s": 84.158,
    "l": 80.196
  },
  "oklch": {
    "l": 0.81884,
    "c": 0.08711,
    "h": 30.5
  },
  "luminance": 0.53043
}

Semantic roles & 50–950 ramp

primary
#F7AFA2
secondary
#66C6D7
accent
#BFE105
background
#FFFDFD
surface
#FFF9F8
border
#D7D2D1
text
#181312
muted
#868282

Preview Lab

Preview with #F7AFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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