#F8A7DF#F8A7DF

#F8A7DF is a very light, moderate pink. Relative luminance 0.529; OKLCH L 82.4% C 0.118 H 338.8°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#F8A7DF
RGBrgb(248, 167, 223)
HSLhsl(319, 85%, 81%)
HSVhsv(319, 33%, 97%)
CMYKcmyk(0%, 32.7%, 10.1%, 2.7%)
CIE-LABlab(77.83, 37.98, -16.06)
CIE-LCHlch(77.83, 41.24, 337.08°)
OKLaboklab(82.38% 0.1101 -0.0427)
OKLCHoklch(82.38% 0.118 338.8)
XYZxyz(65.8492, 52.9248, 76.5447)
Luminance0.5292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8A7DF #A7F8C0
analogous
#E9A7F8 #F8A7DF #F8A7B7
triadic
#F8A7DF #DFF8A7 #A7DFF8
tetradic
#F8A7DF #F8E9A7 #A7F8C0 #A7B7F8
square
#F8A7DF #F8E9A7 #A7F8C0 #A7B7F8
split-complementary
#F8A7DF #B7F8A7 #A7F8E9
monochromatic
#EF36B6 #F36ECA #F8A7DF #FDE0F4 #FDE3F5

Accessibility & contrast

On white

1.81
#F8A7DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#F8A7DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8A7DF
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8A7DF#FFFFFF#000000##000000
##F8A7DF1.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9B9E1
Deuteranopia (green-blind)
#BDC5DD
Tritanopia (blue-blind)
#FFA9BB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #f8a7df;
/* rgb */ color: rgb(248, 167, 223);
/* oklch */ color: oklch(82.4% 0.118 338.8);
Tailwind
colors: {
  custom: {
    50: '#fbc2e9',
    500: '#f8a7df',
    950: '#000000',
  },
}
SCSS
$custom: #f8a7df;
$custom-light: #fbc2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f8a7df",
  "rgb": {
    "r": 248,
    "g": 167,
    "b": 223
  },
  "hsl": {
    "h": 318.519,
    "s": 85.263,
    "l": 81.373
  },
  "oklch": {
    "l": 0.82382,
    "c": 0.11811,
    "h": 338.8
  },
  "luminance": 0.52922
}

Semantic roles & 50–950 ramp

primary
#F8A7DF
secondary
#6AD98C
accent
#E24804
background
#FFFDFE
surface
#FFF9FC
border
#D7D2D5
text
#171216
muted
#858284

Preview Lab

Preview with #F8A7DF

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

Preview Lab → · Contrast checker → · Palette generator →

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