#F08CD2#F08CD2

#F08CD2 is a light, vivid pink. Relative luminance 0.419; OKLCH L 76.7% C 0.148 H 339.2°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#F08CD2
RGBrgb(240, 140, 210)
HSLhsl(318, 77%, 75%)
HSVhsv(318, 42%, 94%)
CMYKcmyk(0%, 41.7%, 12.5%, 5.9%)
CIE-LABlab(70.83, 47.26, -19.61)
CIE-LCHlch(70.83, 51.16, 337.47°)
OKLaboklab(76.74% 0.138 -0.0524)
OKLCHoklch(76.74% 0.148 339.2)
XYZxyz(56.9464, 41.9381, 66.0557)
Luminance0.4194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08CD2 #8CF0AA
analogous
#DC8CF0 #F08CD2 #F08CA0
triadic
#F08CD2 #D2F08C #8CD2F0
tetradic
#F08CD2 #F0DC8C #8CF0AA #8CA0F0
square
#F08CD2 #F0DC8C #8CF0AA #8CA0F0
split-complementary
#F08CD2 #A0F08C #8CF0DC
monochromatic
#E220A8 #E956BD #F08CD2 #F7C2E7 #FBE4F4

Accessibility & contrast

On white

2.24
#F08CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#F08CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08CD2
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08CD2#FFFFFF#000000##000000
##F08CD21.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA4D5
Deuteranopia (green-blind)
#A9B3CF
Tritanopia (blue-blind)
#FA8EA6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f08cd2;
/* rgb */ color: rgb(240, 140, 210);
/* oklch */ color: oklch(76.7% 0.148 339.2);
Tailwind
colors: {
  custom: {
    50: '#f7b0e0',
    500: '#f08cd2',
    950: '#000000',
  },
}
SCSS
$custom: #f08cd2;
$custom-light: #f7b0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#f08cd2",
  "rgb": {
    "r": 240,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 318,
    "s": 76.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7674,
    "c": 0.14763,
    "h": 339.2
  },
  "luminance": 0.41935
}

Semantic roles & 50–950 ramp

primary
#F08CD2
secondary
#D8F3E0
accent
#D94A0C
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #F08CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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