#F08BB2#F08BB2

#F08BB2 is a light, vivid pink. Relative luminance 0.402; OKLCH L 75.5% C 0.130 H 356.1°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#F08BB2
RGBrgb(240, 139, 178)
HSLhsl(337, 77%, 74%)
HSVhsv(337, 42%, 94%)
CMYKcmyk(0%, 42.1%, 25.8%, 5.9%)
CIE-LABlab(69.62, 43.03, -3.61)
CIE-LCHlch(69.62, 43.18, 355.21°)
OKLaboklab(75.49% 0.1298 -0.0089)
OKLCHoklch(75.49% 0.13 356.1)
XYZxyz(53.2052, 40.2089, 47.0697)
Luminance0.4021 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08BB2 #8BF0C9
analogous
#F08BE4 #F08BB2 #F0978B
triadic
#F08BB2 #B2F08B #8BB2F0
tetradic
#F08BB2 #E4F08B #8BF0C9 #978BF0
square
#F08BB2 #E4F08B #8BF0C9 #978BF0
split-complementary
#F08BB2 #8BF097 #8BE4F0
monochromatic
#E21F6A #E9558E #F08BB2 #F7C1D6 #FBE4ED

Accessibility & contrast

On white

2.32
#F08BB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#F08BB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08BB2
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08BB2#FFFFFF#000000##000000
##F08BB21.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#989FB3
Deuteranopia (green-blind)
#B1B1B0
Tritanopia (blue-blind)
#FE8699
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f08bb2;
/* rgb */ color: rgb(240, 139, 178);
/* oklch */ color: oklch(75.5% 0.130 356.1);
Tailwind
colors: {
  custom: {
    50: '#f7afc9',
    500: '#f08bb2',
    950: '#000000',
  },
}
SCSS
$custom: #f08bb2;
$custom-light: #f7afc9;
$custom-dark: #000000;
JSON
{
  "hex": "#f08bb2",
  "rgb": {
    "r": 240,
    "g": 139,
    "b": 178
  },
  "hsl": {
    "h": 336.832,
    "s": 77.099,
    "l": 74.314
  },
  "oklch": {
    "l": 0.75494,
    "c": 0.13008,
    "h": 356.1
  },
  "luminance": 0.40205
}

Semantic roles & 50–950 ramp

primary
#F08BB2
secondary
#D8F3E9
accent
#D98A0C
background
#FFFAFC
surface
#FFF5F8
border
#D7CFD1
text
#171013
muted
#857F82

Preview Lab

Preview with #F08BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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