#F0AFA2#F0AFA2

#F0AFA2 is a light, moderate red. Relative luminance 0.518; OKLCH L 81.1% C 0.079 H 31.6°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#F0AFA2
RGBrgb(240, 175, 162)
HSLhsl(10, 72%, 79%)
HSVhsv(10, 33%, 94%)
CMYKcmyk(0%, 27.1%, 32.5%, 5.9%)
CIE-LABlab(77.16, 22.03, 16.04)
CIE-LCHlch(77.16, 27.26, 36.06°)
OKLaboklab(81.14% 0.0673 0.0413)
OKLCHoklch(81.14% 0.079 31.6)
XYZxyz(57.7884, 51.7972, 41.1295)
Luminance0.5179 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0AFA2 #A2E3F0
analogous
#F0A2BC #F0AFA2 #F0D6A2
triadic
#F0AFA2 #A2F0AF #AFA2F0
tetradic
#F0AFA2 #BCF0A2 #A2E3F0 #D6A2F0
square
#F0AFA2 #BCF0A2 #A2E3F0 #D6A2F0
split-complementary
#F0AFA2 #A2F0D6 #A2BCF0
monochromatic
#DF5439 #E8826D #F0AFA2 #F9DCD7 #FBE8E5

Accessibility & contrast

On white

1.85
#F0AFA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#F0AFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0AFA2
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0AFA2#FFFFFF#000000##000000
##F0AFA21.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDB7A1
Deuteranopia (green-blind)
#CCC4A1
Tritanopia (blue-blind)
#FFA7AC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #f0afa2;
/* rgb */ color: rgb(240, 175, 162);
/* oklch */ color: oklch(81.1% 0.079 31.6);
Tailwind
colors: {
  custom: {
    50: '#f6c7bd',
    500: '#f0afa2',
    950: '#000000',
  },
}
SCSS
$custom: #f0afa2;
$custom-light: #f6c7bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f0afa2",
  "rgb": {
    "r": 240,
    "g": 175,
    "b": 162
  },
  "hsl": {
    "h": 10,
    "s": 72.222,
    "l": 78.824
  },
  "oklch": {
    "l": 0.81144,
    "c": 0.07898,
    "h": 31.6
  },
  "luminance": 0.51794
}

Semantic roles & 50–950 ramp

primary
#F0AFA2
secondary
#69BDCE
accent
#B4D411
background
#FFFDFD
surface
#FFF9F8
border
#D7D2D1
text
#171312
muted
#858282

Preview Lab

Preview with #F0AFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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