#F2AFE2#F2AFE2

#F2AFE2 is a very light, moderate pink. Relative luminance 0.550; OKLCH L 83.2% C 0.102 H 335.3°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#F2AFE2
RGBrgb(242, 175, 226)
HSLhsl(314, 72%, 82%)
HSVhsv(314, 28%, 95%)
CMYKcmyk(0%, 27.7%, 6.6%, 5.1%)
CIE-LABlab(79.06, 32.30, -15.90)
CIE-LCHlch(79.06, 36.00, 333.79°)
OKLaboklab(83.21% 0.0924 -0.0424)
OKLCHoklch(83.21% 0.102 335.3)
XYZxyz(65.6746, 55.0307, 79.0993)
Luminance0.5503 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2AFE2 #AFF2BF
analogous
#E1AFF2 #F2AFE2 #F2AFC1
triadic
#F2AFE2 #E2F2AF #AFE2F2
tetradic
#F2AFE2 #F2E1AF #AFF2BF #AFC1F2
square
#F2AFE2 #F2E1AF #AFF2BF #AFC1F2
split-complementary
#F2AFE2 #C1F2AF #AFF2E1
monochromatic
#E146BC #E97ACF #F2AFE2 #FBE4F5 #FBE5F5

Accessibility & contrast

On white

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

On black

12.01
#F2AFE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2AFE2
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2AFE2#FFFFFF#000000##000000
##F2AFE21.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFBEE4
Deuteranopia (green-blind)
#BFC7E0
Tritanopia (blue-blind)
#F9B1C1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #f2afe2;
/* rgb */ color: rgb(242, 175, 226);
/* oklch */ color: oklch(83.2% 0.102 335.3);
Tailwind
colors: {
  custom: {
    50: '#f7c7eb',
    500: '#f2afe2',
    950: '#000000',
  },
}
SCSS
$custom: #f2afe2;
$custom-light: #f7c7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f2afe2",
  "rgb": {
    "r": 242,
    "g": 175,
    "b": 226
  },
  "hsl": {
    "h": 314.328,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.8321,
    "c": 0.10164,
    "h": 335.3
  },
  "luminance": 0.55028
}

Semantic roles & 50–950 ramp

primary
#F2AFE2
secondary
#74D18A
accent
#D44011
background
#FFFDFE
surface
#FFF9FD
border
#D7D2D5
text
#171316
muted
#858284

Preview Lab

Preview with #F2AFE2

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

Preview Lab → · Contrast checker → · Palette generator →

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