#F08CC2#F08CC2

#F08CC2 is a light, vivid pink. Relative luminance 0.412; OKLCH L 76.2% C 0.137 H 347.2°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#F08CC2
RGBrgb(240, 140, 194)
HSLhsl(328, 77%, 75%)
HSVhsv(328, 42%, 94%)
CMYKcmyk(0%, 41.7%, 19.2%, 5.9%)
CIE-LABlab(70.30, 44.80, -11.52)
CIE-LCHlch(70.30, 46.25, 345.58°)
OKLaboklab(76.17% 0.1334 -0.0302)
OKLCHoklch(76.17% 0.137 347.2)
XYZxyz(55.0518, 41.1802, 56.0775)
Luminance0.4118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08CC2 #8CF0BA
analogous
#EC8CF0 #F08CC2 #F08C90
triadic
#F08CC2 #C2F08C #8CC2F0
tetradic
#F08CC2 #F0EC8C #8CF0BA #8C90F0
square
#F08CC2 #F0EC8C #8CF0BA #8C90F0
split-complementary
#F08CC2 #90F08C #8CF0EC
monochromatic
#E22089 #E956A5 #F08CC2 #F7C2DF #FBE4F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F08CC2#FFFFFF#000000##000000
##F08CC21.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)
#94A2C4
Deuteranopia (green-blind)
#AEB2BF
Tritanopia (blue-blind)
#FC8AA0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f08cc2;
/* rgb */ color: rgb(240, 140, 194);
/* oklch */ color: oklch(76.2% 0.137 347.2);
Tailwind
colors: {
  custom: {
    50: '#f7afd4',
    500: '#f08cc2',
    950: '#000000',
  },
}
SCSS
$custom: #f08cc2;
$custom-light: #f7afd4;
$custom-dark: #000000;
JSON
{
  "hex": "#f08cc2",
  "rgb": {
    "r": 240,
    "g": 140,
    "b": 194
  },
  "hsl": {
    "h": 327.6,
    "s": 76.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.76169,
    "c": 0.13676,
    "h": 347.2
  },
  "luminance": 0.41176
}

Semantic roles & 50–950 ramp

primary
#F08CC2
secondary
#D8F3E4
accent
#D96B0C
background
#FFFAFD
surface
#FFF5FA
border
#D7CFD3
text
#171114
muted
#858083

Preview Lab

Preview with #F08CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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