#F2A6EA#F2A6EA

#F2A6EA is a light, vivid purple. Relative luminance 0.521; OKLCH L 82.0% C 0.124 H 330.4°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#F2A6EA
RGBrgb(242, 166, 234)
HSLhsl(306, 75%, 80%)
HSVhsv(306, 31%, 95%)
CMYKcmyk(0%, 31.4%, 3.3%, 5.1%)
CIE-LABlab(77.34, 38.44, -22.83)
CIE-LCHlch(77.34, 44.71, 329.29°)
OKLaboklab(81.98% 0.1082 -0.0616)
OKLCHoklch(81.98% 0.124 330.4)
XYZxyz(65.1044, 52.0928, 84.4515)
Luminance0.5209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2A6EA #A6F2AE
analogous
#D4A6F2 #F2A6EA #F2A6C4
triadic
#F2A6EA #EAF2A6 #A6EAF2
tetradic
#F2A6EA #F2D4A6 #A6F2AE #A6C4F2
square
#F2A6EA #F2D4A6 #A6F2AE #A6C4F2
split-complementary
#F2A6EA #C4F2A6 #A6F2D4
monochromatic
#E23BD1 #EA71DD #F2A6EA #FADBF7 #FBE4F9

Accessibility & contrast

On white

1.84
#F2A6EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#F2A6EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2A6EA
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2A6EA#FFFFFF#000000##000000
##F2A6EA1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3B9ED
Deuteranopia (green-blind)
#B6C3E8
Tritanopia (blue-blind)
#F8ABBE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #f2a6ea;
/* rgb */ color: rgb(242, 166, 234);
/* oklch */ color: oklch(82.0% 0.124 330.4);
Tailwind
colors: {
  custom: {
    50: '#f7c1f0',
    500: '#f2a6ea',
    950: '#000000',
  },
}
SCSS
$custom: #f2a6ea;
$custom-light: #f7c1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2a6ea",
  "rgb": {
    "r": 242,
    "g": 166,
    "b": 234
  },
  "hsl": {
    "h": 306.316,
    "s": 74.51,
    "l": 80
  },
  "oklch": {
    "l": 0.81984,
    "c": 0.12444,
    "h": 330.4
  },
  "luminance": 0.5209
}

Semantic roles & 50–950 ramp

primary
#F2A6EA
secondary
#6CD176
accent
#D7240F
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#171216
muted
#858285

Preview Lab

Preview with #F2A6EA

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

Preview Lab → · Contrast checker → · Palette generator →

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