#F2A1DF#F2A1DF

#F2A1DF is a light, vivid pink. Relative luminance 0.497; OKLCH L 80.8% C 0.124 H 335.6°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#F2A1DF
RGBrgb(242, 161, 223)
HSLhsl(314, 76%, 79%)
HSVhsv(314, 33%, 95%)
CMYKcmyk(0%, 33.5%, 7.9%, 5.1%)
CIE-LABlab(75.88, 39.17, -19.06)
CIE-LCHlch(75.88, 43.56, 334.05°)
OKLaboklab(80.76% 0.1125 -0.051)
OKLCHoklch(80.76% 0.124 335.6)
XYZxyz(62.6816, 49.6976, 76.0886)
Luminance0.4970 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2A1DF #A1F2B4
analogous
#DDA1F2 #F2A1DF #F2A1B7
triadic
#F2A1DF #DFF2A1 #A1DFF2
tetradic
#F2A1DF #F2DDA1 #A1F2B4 #A1B7F2
square
#F2A1DF #F2DDA1 #A1F2B4 #A1B7F2
split-complementary
#F2A1DF #B7F2A1 #A1F2DD
monochromatic
#E335BA #EB6BCD #F2A1DF #F9D7F1 #FBE4F6

Accessibility & contrast

On white

1.92
#F2A1DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#F2A1DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2A1DF
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2A1DF#FFFFFF#000000##000000
##F2A1DF1.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2B4E1
Deuteranopia (green-blind)
#B5BFDD
Tritanopia (blue-blind)
#FAA4B7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #f2a1df;
/* rgb */ color: rgb(242, 161, 223);
/* oklch */ color: oklch(80.8% 0.124 335.6);
Tailwind
colors: {
  custom: {
    50: '#f7bee9',
    500: '#f2a1df',
    950: '#000000',
  },
}
SCSS
$custom: #f2a1df;
$custom-light: #f7bee9;
$custom-dark: #000000;
JSON
{
  "hex": "#f2a1df",
  "rgb": {
    "r": 242,
    "g": 161,
    "b": 223
  },
  "hsl": {
    "h": 314.074,
    "s": 75.701,
    "l": 79.02
  },
  "oklch": {
    "l": 0.80758,
    "c": 0.12353,
    "h": 335.6
  },
  "luminance": 0.49695
}

Semantic roles & 50–950 ramp

primary
#F2A1DF
secondary
#D8F3DE
accent
#D83D0E
background
#FFFBFE
surface
#FFF7FC
border
#D7D0D5
text
#171216
muted
#858184

Preview Lab

Preview with #F2A1DF

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

Preview Lab → · Contrast checker → · Palette generator →

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