#F2A2ED#F2A2ED

#F2A2ED is a light, vivid purple. Relative luminance 0.508; OKLCH L 81.4% C 0.134 H 328.9°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#F2A2ED
RGBrgb(242, 162, 237)
HSLhsl(304, 75%, 79%)
HSVhsv(304, 33%, 95%)
CMYKcmyk(0%, 33.1%, 2.1%, 5.1%)
CIE-LABlab(76.58, 41.07, -25.61)
CIE-LCHlch(76.58, 48.40, 328.05°)
OKLaboklab(81.44% 0.1149 -0.0693)
OKLCHoklch(81.44% 0.134 328.9)
XYZxyz(64.8232, 50.8350, 86.5019)
Luminance0.5083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2A2ED #A2F2A7
analogous
#CFA2F2 #F2A2ED #F2A2C5
triadic
#F2A2ED #EDF2A2 #A2EDF2
tetradic
#F2A2ED #F2CFA2 #A2F2A7 #A2C5F2
square
#F2A2ED #F2CFA2 #A2F2A7 #A2C5F2
split-complementary
#F2A2ED #C5F2A2 #A2F2CF
monochromatic
#E337D8 #EA6CE3 #F2A2ED #FAD8F7 #FBE4FA

Accessibility & contrast

On white

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

On black

11.17
#F2A2ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2A2ED
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2A2ED#FFFFFF#000000##000000
##F2A2ED1.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB6F0
Deuteranopia (green-blind)
#B2C1EA
Tritanopia (blue-blind)
#F8A8BD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #f2a2ed;
/* rgb */ color: rgb(242, 162, 237);
/* oklch */ color: oklch(81.4% 0.134 328.9);
Tailwind
colors: {
  custom: {
    50: '#f7bef3',
    500: '#f2a2ed',
    950: '#000000',
  },
}
SCSS
$custom: #f2a2ed;
$custom-light: #f7bef3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2a2ed",
  "rgb": {
    "r": 242,
    "g": 162,
    "b": 237
  },
  "hsl": {
    "h": 303.75,
    "s": 75.472,
    "l": 79.216
  },
  "oklch": {
    "l": 0.81444,
    "c": 0.13416,
    "h": 328.9
  },
  "luminance": 0.50832
}

Semantic roles & 50–950 ramp

primary
#F2A2ED
secondary
#68D06E
accent
#D81A0E
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#171217
muted
#858285

Preview Lab

Preview with #F2A2ED

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

Preview Lab → · Contrast checker → · Palette generator →

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