#F08FB2#F08FB2

#F08FB2 is a light, vivid pink. Relative luminance 0.414; OKLCH L 76.1% C 0.124 H 357.3°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#F08FB2
RGBrgb(240, 143, 178)
HSLhsl(338, 76%, 75%)
HSVhsv(338, 40%, 94%)
CMYKcmyk(0%, 40.4%, 25.8%, 5.9%)
CIE-LABlab(70.45, 40.97, -2.39)
CIE-LCHlch(70.45, 41.04, 356.66°)
OKLaboklab(76.12% 0.1236 -0.0057)
OKLCHoklch(76.12% 0.124 357.3)
XYZxyz(53.7950, 41.3885, 47.2663)
Luminance0.4138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08FB2 #8FF0CD
analogous
#F08FE2 #F08FB2 #F09D8F
triadic
#F08FB2 #B2F08F #8FB2F0
tetradic
#F08FB2 #E2F08F #8FF0CD #9D8FF0
square
#F08FB2 #E2F08F #8FF0CD #9D8FF0
split-complementary
#F08FB2 #8FF09D #8FE2F0
monochromatic
#E22368 #E9598D #F08FB2 #F7C5D7 #FBE4EC

Accessibility & contrast

On white

2.26
#F08FB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#F08FB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08FB2
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08FB2#FFFFFF#000000##000000
##F08FB21.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CA2B3
Deuteranopia (green-blind)
#B4B3B0
Tritanopia (blue-blind)
#FE8A9B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f08fb2;
/* rgb */ color: rgb(240, 143, 178);
/* oklch */ color: oklch(76.1% 0.124 357.3);
Tailwind
colors: {
  custom: {
    50: '#f7b1c9',
    500: '#f08fb2',
    950: '#000000',
  },
}
SCSS
$custom: #f08fb2;
$custom-light: #f7b1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f08fb2",
  "rgb": {
    "r": 240,
    "g": 143,
    "b": 178
  },
  "hsl": {
    "h": 338.351,
    "s": 76.378,
    "l": 75.098
  },
  "oklch": {
    "l": 0.76123,
    "c": 0.12371,
    "h": 357.3
  },
  "luminance": 0.41385
}

Semantic roles & 50–950 ramp

primary
#F08FB2
secondary
#D8F3E9
accent
#D98F0D
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#171113
muted
#858082

Preview Lab

Preview with #F08FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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