#F08FDB#F08FDB

#F08FDB is a light, vivid pink. Relative luminance 0.433; OKLCH L 77.5% C 0.150 H 335.4°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#F08FDB
RGBrgb(240, 143, 219)
HSLhsl(313, 76%, 75%)
HSVhsv(313, 40%, 94%)
CMYKcmyk(0%, 40.4%, 8.8%, 5.9%)
CIE-LABlab(71.75, 47.19, -23.17)
CIE-LCHlch(71.75, 52.57, 333.85°)
OKLaboklab(77.54% 0.136 -0.0623)
OKLCHoklch(77.54% 0.15 335.4)
XYZxyz(58.5437, 43.2879, 72.2759)
Luminance0.4329 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08FDB #8FF0A4
analogous
#D58FF0 #F08FDB #F08FAA
triadic
#F08FDB #DBF08F #8FDBF0
tetradic
#F08FDB #F0D58F #8FF0A4 #8FAAF0
square
#F08FDB #F0D58F #8FF0A4 #8FAAF0
split-complementary
#F08FDB #AAF08F #8FF0D5
monochromatic
#E223B8 #E959CA #F08FDB #F7C5EC #FBE4F6

Accessibility & contrast

On white

2.17
#F08FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#F08FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08FDB
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08FDB#FFFFFF#000000##000000
##F08FDB1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA7DE
Deuteranopia (green-blind)
#A9B5D8
Tritanopia (blue-blind)
#F993AB
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f08fdb;
/* rgb */ color: rgb(240, 143, 219);
/* oklch */ color: oklch(77.5% 0.150 335.4);
Tailwind
colors: {
  custom: {
    50: '#f6b2e6',
    500: '#f08fdb',
    950: '#000000',
  },
}
SCSS
$custom: #f08fdb;
$custom-light: #f6b2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f08fdb",
  "rgb": {
    "r": 240,
    "g": 143,
    "b": 219
  },
  "hsl": {
    "h": 312.99,
    "s": 76.378,
    "l": 75.098
  },
  "oklch": {
    "l": 0.77537,
    "c": 0.14958,
    "h": 335.4
  },
  "luminance": 0.43285
}

Semantic roles & 50–950 ramp

primary
#F08FDB
secondary
#D8F3DE
accent
#D9390D
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F08FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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