#F08EDD#F08EDD

#F08EDD is a light, vivid pink. Relative luminance 0.431; OKLCH L 77.5% C 0.153 H 334.4°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#F08EDD
RGBrgb(240, 142, 221)
HSLhsl(312, 77%, 75%)
HSVhsv(312, 41%, 94%)
CMYKcmyk(0%, 40.8%, 7.9%, 5.9%)
CIE-LABlab(71.62, 48.03, -24.47)
CIE-LCHlch(71.62, 53.90, 333.00°)
OKLaboklab(77.46% 0.138 -0.066)
OKLCHoklch(77.46% 0.153 334.4)
XYZxyz(58.6591, 43.0950, 73.6210)
Luminance0.4309 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08EDD #8EF0A1
analogous
#D28EF0 #F08EDD #F08EAC
triadic
#F08EDD #DDF08E #8EDDF0
tetradic
#F08EDD #F0D28E #8EF0A1 #8EACF0
square
#F08EDD #F0D28E #8EF0A1 #8EACF0
split-complementary
#F08EDD #ACF08E #8EF0D2
monochromatic
#E222BC #E958CD #F08EDD #F7C4ED #FBE4F7

Accessibility & contrast

On white

2.18
#F08EDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#F08EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08EDD
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08EDD#FFFFFF#000000##000000
##F08EDD1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA7E0
Deuteranopia (green-blind)
#A7B5DA
Tritanopia (blue-blind)
#F993AC
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #f08edd;
/* rgb */ color: rgb(240, 142, 221);
/* oklch */ color: oklch(77.5% 0.153 334.4);
Tailwind
colors: {
  custom: {
    50: '#f6b1e7',
    500: '#f08edd',
    950: '#000000',
  },
}
SCSS
$custom: #f08edd;
$custom-light: #f6b1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f08edd",
  "rgb": {
    "r": 240,
    "g": 142,
    "b": 221
  },
  "hsl": {
    "h": 311.633,
    "s": 76.563,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77463,
    "c": 0.15291,
    "h": 334.4
  },
  "luminance": 0.43092
}

Semantic roles & 50–950 ramp

primary
#F08EDD
secondary
#D8F3DD
accent
#D9340D
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F08EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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