#F7AFE3#F7AFE3

#F7AFE3 is a very light, moderate pink. Relative luminance 0.560; OKLCH L 83.8% C 0.107 H 337.1°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#F7AFE3
RGBrgb(247, 175, 227)
HSLhsl(317, 82%, 83%)
HSVhsv(317, 29%, 97%)
CMYKcmyk(0%, 29.1%, 8.1%, 3.1%)
CIE-LABlab(79.60, 34.12, -15.56)
CIE-LCHlch(79.60, 37.50, 335.48°)
OKLaboklab(83.75% 0.0982 -0.0415)
OKLCHoklch(83.75% 0.107 337.1)
XYZxyz(67.5523, 55.9830, 79.9056)
Luminance0.5598 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7AFE3 #AFF7C3
analogous
#E7AFF7 #F7AFE3 #F7AFBF
triadic
#F7AFE3 #E3F7AF #AFE3F7
tetradic
#F7AFE3 #F7E7AF #AFF7C3 #AFBFF7
square
#F7AFE3 #F7E7AF #AFF7C3 #AFBFF7
split-complementary
#F7AFE3 #BFF7AF #AFF7E7
monochromatic
#EC40BC #F177D0 #F7AFE3 #FCE3F5 #FCE3F5

Accessibility & contrast

On white

1.72
#F7AFE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#F7AFE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7AFE3
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7AFE3#FFFFFF#000000##000000
##F7AFE31.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0BFE5
Deuteranopia (green-blind)
#C1C9E1
Tritanopia (blue-blind)
#FFB1C1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #f7afe3;
/* rgb */ color: rgb(247, 175, 227);
/* oklch */ color: oklch(83.8% 0.107 337.1);
Tailwind
colors: {
  custom: {
    50: '#fac7eb',
    500: '#f7afe3',
    950: '#000000',
  },
}
SCSS
$custom: #f7afe3;
$custom-light: #fac7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f7afe3",
  "rgb": {
    "r": 247,
    "g": 175,
    "b": 227
  },
  "hsl": {
    "h": 316.667,
    "s": 81.818,
    "l": 82.745
  },
  "oklch": {
    "l": 0.83753,
    "c": 0.1066,
    "h": 337.1
  },
  "luminance": 0.5598
}

Semantic roles & 50–950 ramp

primary
#F7AFE3
secondary
#72D98E
accent
#DE4307
background
#FFFDFE
surface
#FFF9FD
border
#D7D2D5
text
#171316
muted
#858284

Preview Lab

Preview with #F7AFE3

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

Preview Lab → · Contrast checker → · Palette generator →

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