#F08DB2#F08DB2

#F08DB2 is a light, vivid pink. Relative luminance 0.408; OKLCH L 75.8% C 0.127 H 356.7°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#F08DB2
RGBrgb(240, 141, 178)
HSLhsl(338, 77%, 75%)
HSVhsv(338, 41%, 94%)
CMYKcmyk(0%, 41.3%, 25.8%, 5.9%)
CIE-LABlab(70.03, 42.00, -3.00)
CIE-LCHlch(70.03, 42.11, 355.91°)
OKLaboklab(75.81% 0.1267 -0.0073)
OKLCHoklch(75.81% 0.127 356.7)
XYZxyz(53.4974, 40.7933, 47.1671)
Luminance0.4079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08DB2 #8DF0CB
analogous
#F08DE3 #F08DB2 #F09A8D
triadic
#F08DB2 #B2F08D #8DB2F0
tetradic
#F08DB2 #E3F08D #8DF0CB #9A8DF0
square
#F08DB2 #E3F08D #8DF0CB #9A8DF0
split-complementary
#F08DB2 #8DF09A #8DE3F0
monochromatic
#E22169 #E9578D #F08DB2 #F7C3D7 #FBE4ED

Accessibility & contrast

On white

2.29
#F08DB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#F08DB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08DB2
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08DB2#FFFFFF#000000##000000
##F08DB21.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA0B3
Deuteranopia (green-blind)
#B2B2B0
Tritanopia (blue-blind)
#FE889A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f08db2;
/* rgb */ color: rgb(240, 141, 178);
/* oklch */ color: oklch(75.8% 0.127 356.7);
Tailwind
colors: {
  custom: {
    50: '#f7b0c9',
    500: '#f08db2',
    950: '#000000',
  },
}
SCSS
$custom: #f08db2;
$custom-light: #f7b0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f08db2",
  "rgb": {
    "r": 240,
    "g": 141,
    "b": 178
  },
  "hsl": {
    "h": 337.576,
    "s": 76.744,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75807,
    "c": 0.12689,
    "h": 356.7
  },
  "luminance": 0.40789
}

Semantic roles & 50–950 ramp

primary
#F08DB2
secondary
#D8F3E9
accent
#D98D0D
background
#FFFAFC
surface
#FFF5F8
border
#D7CFD1
text
#171113
muted
#858082

Preview Lab

Preview with #F08DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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