#F08AAF#F08AAF

#F08AAF is a light, vivid pink. Relative luminance 0.398; OKLCH L 75.2% C 0.130 H 357.5°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#F08AAF
RGBrgb(240, 138, 175)
HSLhsl(338, 77%, 74%)
HSVhsv(338, 43%, 94%)
CMYKcmyk(0%, 42.5%, 27.1%, 5.9%)
CIE-LABlab(69.33, 43.14, -2.36)
CIE-LCHlch(69.33, 43.20, 356.87°)
OKLaboklab(75.25% 0.1303 -0.0056)
OKLCHoklch(75.25% 0.13 357.5)
XYZxyz(52.7632, 39.8014, 45.4526)
Luminance0.3980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08AAF #8AF0CB
analogous
#F08AE2 #F08AAF #F0988A
triadic
#F08AAF #AFF08A #8AAFF0
tetradic
#F08AAF #E2F08A #8AF0CB #988AF0
square
#F08AAF #E2F08A #8AF0CB #988AF0
split-complementary
#F08AAF #8AF098 #8AE2F0
monochromatic
#E21E65 #E9548A #F08AAF #F7C0D4 #FCE4EC

Accessibility & contrast

On white

2.34
#F08AAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#F08AAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08AAF
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08AAF#FFFFFF#000000##000000
##F08AAF1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#989EB0
Deuteranopia (green-blind)
#B1B0AD
Tritanopia (blue-blind)
#FF8497
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f08aaf;
/* rgb */ color: rgb(240, 138, 175);
/* oklch */ color: oklch(75.2% 0.130 357.5);
Tailwind
colors: {
  custom: {
    50: '#f7aec6',
    500: '#f08aaf',
    950: '#000000',
  },
}
SCSS
$custom: #f08aaf;
$custom-light: #f7aec6;
$custom-dark: #000000;
JSON
{
  "hex": "#f08aaf",
  "rgb": {
    "r": 240,
    "g": 138,
    "b": 175
  },
  "hsl": {
    "h": 338.235,
    "s": 77.273,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75246,
    "c": 0.13041,
    "h": 357.5
  },
  "luminance": 0.39797
}

Semantic roles & 50–950 ramp

primary
#F08AAF
secondary
#D8F3E9
accent
#DA8F0C
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#171013
muted
#857F82

Preview Lab

Preview with #F08AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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