#F08CD3#F08CD3

#F08CD3 is a light, vivid pink. Relative luminance 0.420; OKLCH L 76.8% C 0.148 H 338.8°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#F08CD3
RGBrgb(240, 140, 211)
HSLhsl(317, 77%, 75%)
HSVhsv(317, 42%, 94%)
CMYKcmyk(0%, 41.7%, 12.1%, 5.9%)
CIE-LABlab(70.86, 47.41, -20.11)
CIE-LCHlch(70.86, 51.50, 337.02°)
OKLaboklab(76.78% 0.1383 -0.0538)
OKLCHoklch(76.78% 0.148 338.8)
XYZxyz(57.0714, 41.9881, 66.7139)
Luminance0.4199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08CD3 #8CF0A9
analogous
#DB8CF0 #F08CD3 #F08CA1
triadic
#F08CD3 #D3F08C #8CD3F0
tetradic
#F08CD3 #F0DB8C #8CF0A9 #8CA1F0
square
#F08CD3 #F0DB8C #8CF0A9 #8CA1F0
split-complementary
#F08CD3 #A1F08C #8CF0DB
monochromatic
#E220AA #E956BE #F08CD3 #F7C2E8 #FBE4F5

Accessibility & contrast

On white

2.23
#F08CD3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#F08CD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08CD3
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08CD3#FFFFFF#000000##000000
##F08CD31.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f08cd3;
/* rgb */ color: rgb(240, 140, 211);
/* oklch */ color: oklch(76.8% 0.148 338.8);
Tailwind
colors: {
  custom: {
    50: '#f7b0e0',
    500: '#f08cd3',
    950: '#000000',
  },
}
SCSS
$custom: #f08cd3;
$custom-light: #f7b0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#f08cd3",
  "rgb": {
    "r": 240,
    "g": 140,
    "b": 211
  },
  "hsl": {
    "h": 317.4,
    "s": 76.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.76777,
    "c": 0.14838,
    "h": 338.8
  },
  "luminance": 0.41985
}

Semantic roles & 50–950 ramp

primary
#F08CD3
secondary
#D8F3E0
accent
#D9480C
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #F08CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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