#F5A7DA#F5A7DA

#F5A7DA is a light, moderate pink. Relative luminance 0.521; OKLCH L 81.9% C 0.112 H 340.4°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#F5A7DA
RGBrgb(245, 167, 218)
HSLhsl(321, 80%, 81%)
HSVhsv(321, 32%, 96%)
CMYKcmyk(0%, 31.8%, 11%, 3.9%)
CIE-LABlab(77.35, 36.17, -14.10)
CIE-LCHlch(77.35, 38.82, 338.71°)
OKLaboklab(81.89% 0.1053 -0.0374)
OKLCHoklch(81.89% 0.112 340.4)
XYZxyz(64.1296, 52.1149, 72.9973)
Luminance0.5211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5A7DA #A7F5C2
analogous
#E9A7F5 #F5A7DA #F5A7B3
triadic
#F5A7DA #DAF5A7 #A7DAF5
tetradic
#F5A7DA #F5E9A7 #A7F5C2 #A7B3F5
square
#F5A7DA #F5E9A7 #A7F5C2 #A7B3F5
split-complementary
#F5A7DA #B3F5A7 #A7F5E9
monochromatic
#E939AC #EF70C3 #F5A7DA #FBDEF1 #FCE4F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5A7DA#FFFFFF#000000##000000
##F5A7DA1.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)
#AAB8DC
Deuteranopia (green-blind)
#BDC3D8
Tritanopia (blue-blind)
#FEA8B9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #f5a7da;
/* rgb */ color: rgb(245, 167, 218);
/* oklch */ color: oklch(81.9% 0.112 340.4);
Tailwind
colors: {
  custom: {
    50: '#f9c2e5',
    500: '#f5a7da',
    950: '#000000',
  },
}
SCSS
$custom: #f5a7da;
$custom-light: #f9c2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#f5a7da",
  "rgb": {
    "r": 245,
    "g": 167,
    "b": 218
  },
  "hsl": {
    "h": 320.769,
    "s": 79.592,
    "l": 80.784
  },
  "oklch": {
    "l": 0.81892,
    "c": 0.11171,
    "h": 340.4
  },
  "luminance": 0.52112
}

Semantic roles & 50–950 ramp

primary
#F5A7DA
secondary
#6BD590
accent
#DC520A
background
#FFFDFE
surface
#FFF9FC
border
#D7D2D5
text
#171215
muted
#858284

Preview Lab

Preview with #F5A7DA

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

Preview Lab → · Contrast checker → · Palette generator →

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