#FFAFAB#FFAFAB

#FFAFAB is a very light, moderate red. Relative luminance 0.549; OKLCH L 83.0% C 0.095 H 22.5°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#FFAFAB
RGBrgb(255, 175, 171)
HSLhsl(3, 100%, 84%)
HSVhsv(3, 33%, 100%)
CMYKcmyk(0%, 31.4%, 32.9%, 0%)
CIE-LABlab(78.96, 28.75, 13.94)
CIE-LCHlch(78.96, 31.95, 25.87°)
OKLaboklab(82.96% 0.0874 0.0362)
OKLCHoklch(82.96% 0.095 22.5)
XYZxyz(63.9227, 54.8644, 45.7432)
Luminance0.5486 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFAB #ABFBFF
analogous
#FFABD1 #FFAFAB #FFD9AB
triadic
#FFAFAB #ABFFAF #AFABFF
tetradic
#FFAFAB #D1FFAB #ABFBFF #D9ABFF
square
#FFAFAB #D1FFAB #ABFBFF #D9ABFF
split-complementary
#FFAFAB #ABFFD9 #ABD1FF
monochromatic
#FF3A31 #FF756E #FFAFAB #FFE2E0 #FFE2E0

Accessibility & contrast

On white

1.75
#FFAFAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#FFAFAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFAB
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFAB#FFFFFF#000000##000000
##FFAFAB1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFBAAA
Deuteranopia (green-blind)
#D2CAAA
Tritanopia (blue-blind)
#FFA6AE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ffafab;
/* rgb */ color: rgb(255, 175, 171);
/* oklch */ color: oklch(83.0% 0.095 22.5);
Tailwind
colors: {
  custom: {
    50: '#ffc7c4',
    500: '#ffafab',
    950: '#000000',
  },
}
SCSS
$custom: #ffafab;
$custom-light: #ffc7c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffafab",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 171
  },
  "hsl": {
    "h": 2.857,
    "s": 100,
    "l": 83.529
  },
  "oklch": {
    "l": 0.82958,
    "c": 0.09456,
    "h": 22.5
  },
  "luminance": 0.5486
}

Semantic roles & 50–950 ramp

primary
#FFAFAB
secondary
#6ADFE5
accent
#DBE600
background
#FFFDFD
surface
#FFF9F9
border
#D7D2D2
text
#181312
muted
#868282

Preview Lab

Preview with #FFAFAB

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

Preview Lab → · Contrast checker → · Palette generator →

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