#F0AFBF#F0AFBF

#F0AFBF is a light, moderate red. Relative luminance 0.529; OKLCH L 81.9% C 0.078 H 2.7°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#F0AFBF
RGBrgb(240, 175, 191)
HSLhsl(345, 68%, 81%)
HSVhsv(345, 27%, 94%)
CMYKcmyk(0%, 27.1%, 20.4%, 5.9%)
CIE-LABlab(77.85, 26.00, 1.27)
CIE-LCHlch(77.85, 26.03, 2.80°)
OKLaboklab(81.9% 0.0783 0.0037)
OKLCHoklch(81.9% 0.078 2.7)
XYZxyz(60.6698, 52.9498, 56.3048)
Luminance0.5295 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0AFBF #AFF0E0
analogous
#F0AFE0 #F0AFBF #F0C0AF
triadic
#F0AFBF #BFF0AF #AFBFF0
tetradic
#F0AFBF #E0F0AF #AFF0E0 #C0AFF0
square
#F0AFBF #E0F0AF #AFF0E0 #C0AFF0
split-complementary
#F0AFBF #AFF0C0 #AFE0F0
monochromatic
#DD486D #E67B96 #F0AFBF #FAE3E8 #FAE5EA

Accessibility & contrast

On white

1.81
#F0AFBF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#F0AFBF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0AFBF
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0AFBF#FFFFFF#000000##000000
##F0AFBF1.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8BAC0
Deuteranopia (green-blind)
#C7C5BE
Tritanopia (blue-blind)
#FBABB4
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #f0afbf;
/* rgb */ color: rgb(240, 175, 191);
/* oklch */ color: oklch(81.9% 0.078 2.7);
Tailwind
colors: {
  custom: {
    50: '#f6c7d2',
    500: '#f0afbf',
    950: '#000000',
  },
}
SCSS
$custom: #f0afbf;
$custom-light: #f6c7d2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0afbf",
  "rgb": {
    "r": 240,
    "g": 175,
    "b": 191
  },
  "hsl": {
    "h": 345.231,
    "s": 68.421,
    "l": 81.373
  },
  "oklch": {
    "l": 0.81899,
    "c": 0.07839,
    "h": 2.7
  },
  "luminance": 0.52947
}

Semantic roles & 50–950 ramp

primary
#F0AFBF
secondary
#75CEB8
accent
#D0A215
background
#FFFDFE
surface
#FFF9FB
border
#D7D2D4
text
#171314
muted
#858283

Preview Lab

Preview with #F0AFBF

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

Preview Lab → · Contrast checker → · Palette generator →

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