#F2AFDF#F2AFDF

#F2AFDF is a very light, moderate pink. Relative luminance 0.549; OKLCH L 83.1% C 0.099 H 337.2°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#F2AFDF
RGBrgb(242, 175, 223)
HSLhsl(317, 72%, 82%)
HSVhsv(317, 28%, 95%)
CMYKcmyk(0%, 27.7%, 7.9%, 5.1%)
CIE-LABlab(78.96, 31.79, -14.42)
CIE-LCHlch(78.96, 34.90, 335.61°)
OKLaboklab(83.11% 0.0914 -0.0384)
OKLCHoklch(83.11% 0.099 337.2)
XYZxyz(65.2666, 54.8675, 76.9503)
Luminance0.5486 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2AFDF #AFF2C2
analogous
#E4AFF2 #F2AFDF #F2AFBE
triadic
#F2AFDF #DFF2AF #AFDFF2
tetradic
#F2AFDF #F2E4AF #AFF2C2 #AFBEF2
square
#F2AFDF #F2E4AF #AFF2C2 #AFBEF2
split-complementary
#F2AFDF #BEF2AF #AFF2E4
monochromatic
#E146B5 #E97ACA #F2AFDF #FBE4F4 #FBE5F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2AFDF#FFFFFF#000000##000000
##F2AFDF1.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)
#B0BEE1
Deuteranopia (green-blind)
#C0C7DD
Tritanopia (blue-blind)
#F9B1C0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #f2afdf;
/* rgb */ color: rgb(242, 175, 223);
/* oklch */ color: oklch(83.1% 0.099 337.2);
Tailwind
colors: {
  custom: {
    50: '#f7c7e9',
    500: '#f2afdf',
    950: '#000000',
  },
}
SCSS
$custom: #f2afdf;
$custom-light: #f7c7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f2afdf",
  "rgb": {
    "r": 242,
    "g": 175,
    "b": 223
  },
  "hsl": {
    "h": 317.015,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.83107,
    "c": 0.09915,
    "h": 337.2
  },
  "luminance": 0.54865
}

Semantic roles & 50–950 ramp

primary
#F2AFDF
secondary
#74D18E
accent
#D44911
background
#FFFDFE
surface
#FFF9FC
border
#D7D2D5
text
#171316
muted
#858284

Preview Lab

Preview with #F2AFDF

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

Preview Lab → · Contrast checker → · Palette generator →

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