#F08CDD#F08CDD

#F08CDD is a light, vivid pink. Relative luminance 0.425; OKLCH L 77.2% C 0.156 H 334.3°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#F08CDD
RGBrgb(240, 140, 221)
HSLhsl(311, 77%, 75%)
HSVhsv(311, 42%, 94%)
CMYKcmyk(0%, 41.7%, 7.9%, 5.9%)
CIE-LABlab(71.22, 49.05, -25.09)
CIE-LCHlch(71.22, 55.09, 332.91°)
OKLaboklab(77.16% 0.1409 -0.0677)
OKLCHoklch(77.16% 0.156 334.3)
XYZxyz(58.3642, 42.5052, 73.5227)
Luminance0.4250 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08CDD #8CF09F
analogous
#D18CF0 #F08CDD #F08CAB
triadic
#F08CDD #DDF08C #8CDDF0
tetradic
#F08CDD #F0D18C #8CF09F #8CABF0
square
#F08CDD #F0D18C #8CF09F #8CABF0
split-complementary
#F08CDD #ABF08C #8CF0D1
monochromatic
#E220BD #E956CD #F08CDD #F7C2ED #FBE4F7

Accessibility & contrast

On white

2.21
#F08CDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#F08CDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08CDD
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08CDD#FFFFFF#000000##000000
##F08CDD1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA5E0
Deuteranopia (green-blind)
#A6B4DA
Tritanopia (blue-blind)
#F991AB
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f08cdd;
/* rgb */ color: rgb(240, 140, 221);
/* oklch */ color: oklch(77.2% 0.156 334.3);
Tailwind
colors: {
  custom: {
    50: '#f7b0e7',
    500: '#f08cdd',
    950: '#000000',
  },
}
SCSS
$custom: #f08cdd;
$custom-light: #f7b0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f08cdd",
  "rgb": {
    "r": 240,
    "g": 140,
    "b": 221
  },
  "hsl": {
    "h": 311.4,
    "s": 76.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77161,
    "c": 0.15628,
    "h": 334.3
  },
  "luminance": 0.42502
}

Semantic roles & 50–950 ramp

primary
#F08CDD
secondary
#D8F3DD
accent
#D9330C
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F08CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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