#F2AFEB#F2AFEB

#F2AFEB is a very light, moderate purple. Relative luminance 0.555; OKLCH L 83.5% C 0.110 H 330.1°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#F2AFEB
RGBrgb(242, 175, 235)
HSLhsl(306, 72%, 82%)
HSVhsv(306, 28%, 95%)
CMYKcmyk(0%, 27.7%, 2.9%, 5.1%)
CIE-LABlab(79.35, 33.87, -20.32)
CIE-LCHlch(79.35, 39.49, 329.04°)
OKLaboklab(83.53% 0.0951 -0.0546)
OKLCHoklch(83.53% 0.11 330.1)
XYZxyz(66.9421, 55.5377, 85.7748)
Luminance0.5554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2AFEB #AFF2B6
analogous
#D8AFF2 #F2AFEB #F2AFCA
triadic
#F2AFEB #EBF2AF #AFEBF2
tetradic
#F2AFEB #F2D8AF #AFF2B6 #AFCAF2
square
#F2AFEB #F2D8AF #AFF2B6 #AFCAF2
split-complementary
#F2AFEB #CAF2AF #AFF2D8
monochromatic
#E146D1 #E97ADE #F2AFEB #FBE4F8 #FBE5F8

Accessibility & contrast

On white

1.73
#F2AFEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#F2AFEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2AFEB
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2AFEB#FFFFFF#000000##000000
##F2AFEB1.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADBFED
Deuteranopia (green-blind)
#BCC8E9
Tritanopia (blue-blind)
#F7B3C4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #f2afeb;
/* rgb */ color: rgb(242, 175, 235);
/* oklch */ color: oklch(83.5% 0.110 330.1);
Tailwind
colors: {
  custom: {
    50: '#f7c7f1',
    500: '#f2afeb',
    950: '#000000',
  },
}
SCSS
$custom: #f2afeb;
$custom-light: #f7c7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2afeb",
  "rgb": {
    "r": 242,
    "g": 175,
    "b": 235
  },
  "hsl": {
    "h": 306.269,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.83529,
    "c": 0.10966,
    "h": 330.1
  },
  "luminance": 0.55535
}

Semantic roles & 50–950 ramp

primary
#F2AFEB
secondary
#74D17E
accent
#D42611
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#171316
muted
#858285

Preview Lab

Preview with #F2AFEB

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

Preview Lab → · Contrast checker → · Palette generator →

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