#F08ECF#F08ECF

#F08ECF is a light, vivid pink. Relative luminance 0.424; OKLCH L 76.9% C 0.142 H 340.9°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#F08ECF
RGBrgb(240, 142, 207)
HSLhsl(320, 77%, 75%)
HSVhsv(320, 41%, 94%)
CMYKcmyk(0%, 40.8%, 13.7%, 5.9%)
CIE-LABlab(71.13, 45.76, -17.48)
CIE-LCHlch(71.13, 48.99, 339.09°)
OKLaboklab(76.94% 0.1342 -0.0465)
OKLCHoklch(76.94% 0.142 340.9)
XYZxyz(56.8710, 42.3798, 64.2040)
Luminance0.4238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08ECF #8EF0AF
analogous
#E08EF0 #F08ECF #F08E9E
triadic
#F08ECF #CFF08E #8ECFF0
tetradic
#F08ECF #F0E08E #8EF0AF #8E9EF0
square
#F08ECF #F0E08E #8EF0AF #8E9EF0
split-complementary
#F08ECF #9EF08E #8EF0E0
monochromatic
#E222A1 #E958B8 #F08ECF #F7C4E6 #FBE4F4

Accessibility & contrast

On white

2.22
#F08ECF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#F08ECF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08ECF
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08ECF#FFFFFF#000000##000000
##F08ECF1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A5D1
Deuteranopia (green-blind)
#ACB4CC
Tritanopia (blue-blind)
#FB8FA6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f08ecf;
/* rgb */ color: rgb(240, 142, 207);
/* oklch */ color: oklch(76.9% 0.142 340.9);
Tailwind
colors: {
  custom: {
    50: '#f6b1dd',
    500: '#f08ecf',
    950: '#000000',
  },
}
SCSS
$custom: #f08ecf;
$custom-light: #f6b1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#f08ecf",
  "rgb": {
    "r": 240,
    "g": 142,
    "b": 207
  },
  "hsl": {
    "h": 320.204,
    "s": 76.563,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76935,
    "c": 0.14205,
    "h": 340.9
  },
  "luminance": 0.42376
}

Semantic roles & 50–950 ramp

primary
#F08ECF
secondary
#D8F3E1
accent
#D9510D
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #F08ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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