#F08FDC#F08FDC

#F08FDC is a light, vivid pink. Relative luminance 0.433; OKLCH L 77.6% C 0.150 H 334.9°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#F08FDC
RGBrgb(240, 143, 220)
HSLhsl(312, 76%, 75%)
HSVhsv(312, 40%, 94%)
CMYKcmyk(0%, 40.4%, 8.3%, 5.9%)
CIE-LABlab(71.79, 47.35, -23.67)
CIE-LCHlch(71.79, 52.94, 333.44°)
OKLaboklab(77.58% 0.1362 -0.0637)
OKLCHoklch(77.58% 0.15 334.9)
XYZxyz(58.6757, 43.3407, 72.9713)
Luminance0.4334 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08FDC #8FF0A3
analogous
#D38FF0 #F08FDC #F08FAC
triadic
#F08FDC #DCF08F #8FDCF0
tetradic
#F08FDC #F0D38F #8FF0A3 #8FACF0
square
#F08FDC #F0D38F #8FF0A3 #8FACF0
split-complementary
#F08FDC #ACF08F #8FF0D3
monochromatic
#E223BA #E959CB #F08FDC #F7C5ED #FBE4F7

Accessibility & contrast

On white

2.17
#F08FDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#F08FDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08FDC
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08FDC#FFFFFF#000000##000000
##F08FDC1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA7DF
Deuteranopia (green-blind)
#A8B5D9
Tritanopia (blue-blind)
#F993AC
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f08fdc;
/* rgb */ color: rgb(240, 143, 220);
/* oklch */ color: oklch(77.6% 0.150 334.9);
Tailwind
colors: {
  custom: {
    50: '#f6b2e7',
    500: '#f08fdc',
    950: '#000000',
  },
}
SCSS
$custom: #f08fdc;
$custom-light: #f6b2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f08fdc",
  "rgb": {
    "r": 240,
    "g": 143,
    "b": 220
  },
  "hsl": {
    "h": 312.371,
    "s": 76.378,
    "l": 75.098
  },
  "oklch": {
    "l": 0.77576,
    "c": 0.15039,
    "h": 334.9
  },
  "luminance": 0.43337
}

Semantic roles & 50–950 ramp

primary
#F08FDC
secondary
#D8F3DD
accent
#D9370D
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F08FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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