#F2A7DC#F2A7DC

#F2A7DC is a light, moderate pink. Relative luminance 0.517; OKLCH L 81.6% C 0.111 H 337.9°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#F2A7DC
RGBrgb(242, 167, 220)
HSLhsl(318, 74%, 80%)
HSVhsv(318, 31%, 95%)
CMYKcmyk(0%, 31%, 9.1%, 5.1%)
CIE-LABlab(77.09, 35.51, -15.60)
CIE-LCHlch(77.09, 38.79, 336.28°)
OKLaboklab(81.65% 0.1026 -0.0415)
OKLCHoklch(81.65% 0.111 337.9)
XYZxyz(63.3545, 51.6848, 74.3353)
Luminance0.5168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2A7DC #A7F2BD
analogous
#E2A7F2 #F2A7DC #F2A7B6
triadic
#F2A7DC #DCF2A7 #A7DCF2
tetradic
#F2A7DC #F2E2A7 #A7F2BD #A7B6F2
square
#F2A7DC #F2E2A7 #A7F2BD #A7B6F2
split-complementary
#F2A7DC #B6F2A7 #A7F2E2
monochromatic
#E23CB2 #EA72C7 #F2A7DC #FADCF1 #FBE4F4

Accessibility & contrast

On white

1.85
#F2A7DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#F2A7DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2A7DC
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2A7DC#FFFFFF#000000##000000
##F2A7DC1.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9B8DE
Deuteranopia (green-blind)
#BBC2DA
Tritanopia (blue-blind)
#FAA9BA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #f2a7dc;
/* rgb */ color: rgb(242, 167, 220);
/* oklch */ color: oklch(81.6% 0.111 337.9);
Tailwind
colors: {
  custom: {
    50: '#f7c2e7',
    500: '#f2a7dc',
    950: '#000000',
  },
}
SCSS
$custom: #f2a7dc;
$custom-light: #f7c2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2a7dc",
  "rgb": {
    "r": 242,
    "g": 167,
    "b": 220
  },
  "hsl": {
    "h": 317.6,
    "s": 74.257,
    "l": 80.196
  },
  "oklch": {
    "l": 0.81645,
    "c": 0.11067,
    "h": 337.9
  },
  "luminance": 0.51682
}

Semantic roles & 50–950 ramp

primary
#F2A7DC
secondary
#6CD18A
accent
#D64A0F
background
#FFFDFE
surface
#FFF9FC
border
#D7D2D5
text
#171216
muted
#858284

Preview Lab

Preview with #F2A7DC

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

Preview Lab → · Contrast checker → · Palette generator →

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