#F08EB2#F08EB2

#F08EB2 is a light, vivid pink. Relative luminance 0.411; OKLCH L 76.0% C 0.125 H 357.0°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#F08EB2
RGBrgb(240, 142, 178)
HSLhsl(338, 77%, 75%)
HSVhsv(338, 41%, 94%)
CMYKcmyk(0%, 40.8%, 25.8%, 5.9%)
CIE-LABlab(70.24, 41.49, -2.69)
CIE-LCHlch(70.24, 41.58, 356.28°)
OKLaboklab(75.96% 0.1251 -0.0065)
OKLCHoklch(75.96% 0.125 357)
XYZxyz(53.6455, 41.0896, 47.2165)
Luminance0.4109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08EB2 #8EF0CC
analogous
#F08EE3 #F08EB2 #F09B8E
triadic
#F08EB2 #B2F08E #8EB2F0
tetradic
#F08EB2 #E3F08E #8EF0CC #9B8EF0
square
#F08EB2 #E3F08E #8EF0CC #9B8EF0
split-complementary
#F08EB2 #8EF09B #8EE3F0
monochromatic
#E22268 #E9588D #F08EB2 #F7C4D7 #FBE4ED

Accessibility & contrast

On white

2.28
#F08EB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#F08EB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08EB2
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08EB2#FFFFFF#000000##000000
##F08EB21.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA1B3
Deuteranopia (green-blind)
#B3B2B0
Tritanopia (blue-blind)
#FE899B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f08eb2;
/* rgb */ color: rgb(240, 142, 178);
/* oklch */ color: oklch(76.0% 0.125 357.0);
Tailwind
colors: {
  custom: {
    50: '#f7b1c9',
    500: '#f08eb2',
    950: '#000000',
  },
}
SCSS
$custom: #f08eb2;
$custom-light: #f7b1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f08eb2",
  "rgb": {
    "r": 240,
    "g": 142,
    "b": 178
  },
  "hsl": {
    "h": 337.959,
    "s": 76.563,
    "l": 74.902
  },
  "oklch": {
    "l": 0.75964,
    "c": 0.1253,
    "h": 357
  },
  "luminance": 0.41086
}

Semantic roles & 50–950 ramp

primary
#F08EB2
secondary
#D8F3E9
accent
#D98E0D
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#171113
muted
#858082

Preview Lab

Preview with #F08EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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