#F2AFA7#F2AFA7

#F2AFA7 is a light, moderate red. Relative luminance 0.523; OKLCH L 81.5% C 0.080 H 26.6°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#F2AFA7
RGBrgb(242, 175, 167)
HSLhsl(6, 74%, 80%)
HSVhsv(6, 31%, 95%)
CMYKcmyk(0%, 27.7%, 31%, 5.1%)
CIE-LABlab(77.48, 23.42, 13.81)
CIE-LCHlch(77.48, 27.19, 30.54°)
OKLaboklab(81.47% 0.0715 0.0358)
OKLCHoklch(81.47% 0.08 26.6)
XYZxyz(58.9245, 52.3307, 43.5489)
Luminance0.5233 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2AFA7 #A7EAF2
analogous
#F2A7C4 #F2AFA7 #F2D4A7
triadic
#F2AFA7 #A7F2AF #AFA7F2
tetradic
#F2AFA7 #C4F2A7 #A7EAF2 #D4A7F2
square
#F2AFA7 #C4F2A7 #A7EAF2 #D4A7F2
split-complementary
#F2AFA7 #A7F2D4 #A7C4F2
monochromatic
#E24E3C #EA7F72 #F2AFA7 #FADFDC #FBE7E4

Accessibility & contrast

On white

1.83
#F2AFA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#F2AFA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2AFA7
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2AFA7#FFFFFF#000000##000000
##F2AFA71.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDB8A6
Deuteranopia (green-blind)
#CCC5A6
Tritanopia (blue-blind)
#FFA7AD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #f2afa7;
/* rgb */ color: rgb(242, 175, 167);
/* oklch */ color: oklch(81.5% 0.080 26.6);
Tailwind
colors: {
  custom: {
    50: '#f8c7c1',
    500: '#f2afa7',
    950: '#000000',
  },
}
SCSS
$custom: #f2afa7;
$custom-light: #f8c7c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2afa7",
  "rgb": {
    "r": 242,
    "g": 175,
    "b": 167
  },
  "hsl": {
    "h": 6.4,
    "s": 74.257,
    "l": 80.196
  },
  "oklch": {
    "l": 0.81473,
    "c": 0.07993,
    "h": 26.6
  },
  "luminance": 0.52327
}

Semantic roles & 50–950 ramp

primary
#F2AFA7
secondary
#6CC6D1
accent
#C1D60F
background
#FFFDFD
surface
#FFF9F9
border
#D7D2D2
text
#171312
muted
#858282

Preview Lab

Preview with #F2AFA7

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

Preview Lab → · Contrast checker → · Palette generator →

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