#F2A2EE#F2A2EE

#F2A2EE is a light, vivid purple. Relative luminance 0.509; OKLCH L 81.5% C 0.135 H 328.5°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#F2A2EE
RGBrgb(242, 162, 238)
HSLhsl(303, 75%, 79%)
HSVhsv(303, 33%, 95%)
CMYKcmyk(0%, 33.1%, 1.7%, 5.1%)
CIE-LABlab(76.61, 41.25, -26.10)
CIE-LCHlch(76.61, 48.81, 327.67°)
OKLaboklab(81.48% 0.1151 -0.0707)
OKLCHoklch(81.48% 0.135 328.5)
XYZxyz(64.9697, 50.8936, 87.2735)
Luminance0.5089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2A2EE #A2F2A6
analogous
#CEA2F2 #F2A2EE #F2A2C6
triadic
#F2A2EE #EEF2A2 #A2EEF2
tetradic
#F2A2EE #F2CEA2 #A2F2A6 #A2C6F2
square
#F2A2EE #F2CEA2 #A2F2A6 #A2C6F2
split-complementary
#F2A2EE #C6F2A2 #A2F2CE
monochromatic
#E337DA #EA6CE4 #F2A2EE #FAD8F8 #FBE4FA

Accessibility & contrast

On white

1.88
#F2A2EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#F2A2EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2A2EE
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2A2EE#FFFFFF#000000##000000
##F2A2EE1.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB6F1
Deuteranopia (green-blind)
#B1C1EB
Tritanopia (blue-blind)
#F7A8BE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #f2a2ee;
/* rgb */ color: rgb(242, 162, 238);
/* oklch */ color: oklch(81.5% 0.135 328.5);
Tailwind
colors: {
  custom: {
    50: '#f7bef3',
    500: '#f2a2ee',
    950: '#000000',
  },
}
SCSS
$custom: #f2a2ee;
$custom-light: #f7bef3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2a2ee",
  "rgb": {
    "r": 242,
    "g": 162,
    "b": 238
  },
  "hsl": {
    "h": 303,
    "s": 75.472,
    "l": 79.216
  },
  "oklch": {
    "l": 0.81483,
    "c": 0.13509,
    "h": 328.5
  },
  "luminance": 0.50891
}

Semantic roles & 50–950 ramp

primary
#F2A2EE
secondary
#68D06D
accent
#D8180E
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#171217
muted
#858285

Preview Lab

Preview with #F2A2EE

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

Preview Lab → · Contrast checker → · Palette generator →

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