#FD7AF2#FD7AF2

#FD7AF2 is a light, highly saturated purple. Relative luminance 0.412; OKLCH L 77.1% C 0.211 H 330.7°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#FD7AF2
RGBrgb(253, 122, 242)
HSLhsl(305, 97%, 74%)
HSVhsv(305, 52%, 99%)
CMYKcmyk(0%, 51.8%, 4.3%, 0.8%)
CIE-LABlab(70.33, 64.99, -37.88)
CIE-LCHlch(70.33, 75.22, 329.76°)
OKLaboklab(77.11% 0.1842 -0.1035)
OKLCHoklch(77.11% 0.211 330.7)
XYZxyz(63.4941, 41.2165, 88.5985)
Luminance0.4121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FD7AF2 #7AFD85
analogous
#C67AFD #FD7AF2 #FD7AB0
triadic
#FD7AF2 #F2FD7A #7AF2FD
tetradic
#FD7AF2 #FDC67A #7AFD85 #7AB0FD
square
#FD7AF2 #FDC67A #7AFD85 #7AB0FD
split-complementary
#FD7AF2 #B0FD7A #7AFDC6
monochromatic
#F904E4 #FC3EEC #FD7AF2 #FEB6F8 #FFE1FC

Accessibility & contrast

On white

2.27
#FD7AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#FD7AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FD7AF2
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FD7AF2#FFFFFF#000000##000000
##FD7AF21.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#9BB3EE
Tritanopia (blue-blind)
#FF85AB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fd7af2;
/* rgb */ color: rgb(253, 122, 242);
/* oklch */ color: oklch(77.1% 0.211 330.7);
Tailwind
colors: {
  custom: {
    50: '#ffa5f6',
    500: '#fd7af2',
    950: '#000000',
  },
}
SCSS
$custom: #fd7af2;
$custom-light: #ffa5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fd7af2",
  "rgb": {
    "r": 253,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 305.038,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7711,
    "c": 0.21131,
    "h": 330.7
  },
  "luminance": 0.41213
}

Semantic roles & 50–950 ramp

primary
#FD7AF2
secondary
#D4F7D7
accent
#E61300
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #FD7AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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