#FFAFB7#FFAFB7

#FFAFB7 is a very light, moderate red. Relative luminance 0.553; OKLCH L 83.3% C 0.094 H 12.7°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#FFAFB7
RGBrgb(255, 175, 183)
HSLhsl(354, 100%, 84%)
HSVhsv(354, 31%, 100%)
CMYKcmyk(0%, 31.4%, 28.2%, 0%)
CIE-LABlab(79.24, 30.27, 7.83)
CIE-LCHlch(79.24, 31.27, 14.50°)
OKLaboklab(83.26% 0.0919 0.0208)
OKLCHoklch(83.26% 0.094 12.7)
XYZxyz(65.1189, 55.3429, 52.0429)
Luminance0.5534 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFB7 #AFFFF7
analogous
#FFAFDF #FFAFB7 #FFCFAF
triadic
#FFAFB7 #B7FFAF #AFB7FF
tetradic
#FFAFB7 #DFFFAF #AFFFF7 #CFAFFF
square
#FFAFB7 #DFFFAF #AFFFF7 #CFAFFF
split-complementary
#FFAFB7 #AFFFCF #AFDFFF
monochromatic
#FF3549 #FF7280 #FFAFB7 #FFE0E3 #FFE0E3

Accessibility & contrast

On white

1.74
#FFAFB7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#FFAFB7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFB7
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFB7#FFFFFF#000000##000000
##FFAFB71.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDBBB7
Deuteranopia (green-blind)
#D0CAB6
Tritanopia (blue-blind)
#FFA8B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ffafb7;
/* rgb */ color: rgb(255, 175, 183);
/* oklch */ color: oklch(83.3% 0.094 12.7);
Tailwind
colors: {
  custom: {
    50: '#ffc7cc',
    500: '#ffafb7',
    950: '#000000',
  },
}
SCSS
$custom: #ffafb7;
$custom-light: #ffc7cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ffafb7",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 183
  },
  "hsl": {
    "h": 354,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.83261,
    "c": 0.09421,
    "h": 12.7
  },
  "luminance": 0.55339
}

Semantic roles & 50–950 ramp

primary
#FFAFB7
secondary
#6DE5D9
accent
#E6CF00
background
#FFFDFE
surface
#FFF9FA
border
#D7D2D3
text
#181313
muted
#868283

Preview Lab

Preview with #FFAFB7

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

Preview Lab → · Contrast checker → · Palette generator →

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