#FFAFB2#FFAFB2

#FFAFB2 is a very light, moderate red. Relative luminance 0.551; OKLCH L 83.1% C 0.094 H 16.8°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#FFAFB2
RGBrgb(255, 175, 178)
HSLhsl(358, 100%, 84%)
HSVhsv(358, 31%, 100%)
CMYKcmyk(0%, 31.4%, 30.2%, 0%)
CIE-LABlab(79.12, 29.62, 10.37)
CIE-LCHlch(79.12, 31.39, 19.30°)
OKLaboklab(83.13% 0.09 0.0272)
OKLCHoklch(83.13% 0.094 16.8)
XYZxyz(64.6077, 55.1384, 49.3507)
Luminance0.5513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFB2 #AFFFFC
analogous
#FFAFDA #FFAFB2 #FFD4AF
triadic
#FFAFB2 #B2FFAF #AFB2FF
tetradic
#FFAFB2 #DAFFAF #AFFFFC #D4AFFF
square
#FFAFB2 #DAFFAF #AFFFFC #D4AFFF
split-complementary
#FFAFB2 #AFFFD4 #AFDAFF
monochromatic
#FF353C #FF7277 #FFAFB2 #FFE0E2 #FFE0E2

Accessibility & contrast

On white

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

On black

12.03
#FFAFB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFB2
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFB2#FFFFFF#000000##000000
##FFAFB21.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEBBB2
Deuteranopia (green-blind)
#D1CAB1
Tritanopia (blue-blind)
#FFA7B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ffafb2;
/* rgb */ color: rgb(255, 175, 178);
/* oklch */ color: oklch(83.1% 0.094 16.8);
Tailwind
colors: {
  custom: {
    50: '#ffc7c9',
    500: '#ffafb2',
    950: '#000000',
  },
}
SCSS
$custom: #ffafb2;
$custom-light: #ffc7c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ffafb2",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 178
  },
  "hsl": {
    "h": 357.75,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.83132,
    "c": 0.09405,
    "h": 16.8
  },
  "luminance": 0.55134
}

Semantic roles & 50–950 ramp

primary
#FFAFB2
secondary
#6DE5E1
accent
#E6DD00
background
#FFFDFD
surface
#FFF9F9
border
#D7D2D2
text
#181313
muted
#868282

Preview Lab

Preview with #FFAFB2

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

Preview Lab → · Contrast checker → · Palette generator →

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