#F08EB5#F08EB5

#F08EB5 is a light, vivid pink. Relative luminance 0.412; OKLCH L 76.1% C 0.127 H 355.2°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#F08EB5
RGBrgb(240, 142, 181)
HSLhsl(336, 77%, 75%)
HSVhsv(336, 41%, 94%)
CMYKcmyk(0%, 40.8%, 24.6%, 5.9%)
CIE-LABlab(70.32, 41.90, -4.24)
CIE-LCHlch(70.32, 42.12, 354.22°)
OKLaboklab(76.06% 0.1262 -0.0106)
OKLCHoklch(76.06% 0.127 355.2)
XYZxyz(53.9501, 41.2114, 48.8202)
Luminance0.4121 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08EB5 #8EF0C9
analogous
#F08EE6 #F08EB5 #F0988E
triadic
#F08EB5 #B5F08E #8EB5F0
tetradic
#F08EB5 #E6F08E #8EF0C9 #988EF0
square
#F08EB5 #E6F08E #8EF0C9 #988EF0
split-complementary
#F08EB5 #8EF098 #8EE6F0
monochromatic
#E2226E #E95892 #F08EB5 #F7C4D8 #FBE4ED

Accessibility & contrast

On white

2.27
#F08EB5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#F08EB5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08EB5
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08EB5#FFFFFF#000000##000000
##F08EB51.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA1B6
Deuteranopia (green-blind)
#B2B2B3
Tritanopia (blue-blind)
#FE899C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f08eb5;
/* rgb */ color: rgb(240, 142, 181);
/* oklch */ color: oklch(76.1% 0.127 355.2);
Tailwind
colors: {
  custom: {
    50: '#f7b1cb',
    500: '#f08eb5',
    950: '#000000',
  },
}
SCSS
$custom: #f08eb5;
$custom-light: #f7b1cb;
$custom-dark: #000000;
JSON
{
  "hex": "#f08eb5",
  "rgb": {
    "r": 240,
    "g": 142,
    "b": 181
  },
  "hsl": {
    "h": 336.122,
    "s": 76.563,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76057,
    "c": 0.1266,
    "h": 355.2
  },
  "luminance": 0.41207
}

Semantic roles & 50–950 ramp

primary
#F08EB5
secondary
#D8F3E8
accent
#D9880D
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#171113
muted
#858082

Preview Lab

Preview with #F08EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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