#F08CB2#F08CB2

#F08CB2 is a light, vivid pink. Relative luminance 0.405; OKLCH L 75.6% C 0.128 H 356.4°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#F08CB2
RGBrgb(240, 140, 178)
HSLhsl(337, 77%, 75%)
HSVhsv(337, 42%, 94%)
CMYKcmyk(0%, 41.7%, 25.8%, 5.9%)
CIE-LABlab(69.82, 42.52, -3.30)
CIE-LCHlch(69.82, 42.65, 355.56°)
OKLaboklab(75.65% 0.1282 -0.0081)
OKLCHoklch(75.65% 0.128 356.4)
XYZxyz(53.3507, 40.4998, 47.1182)
Luminance0.4050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08CB2 #8CF0CA
analogous
#F08CE4 #F08CB2 #F0988C
triadic
#F08CB2 #B2F08C #8CB2F0
tetradic
#F08CB2 #E4F08C #8CF0CA #988CF0
square
#F08CB2 #E4F08C #8CF0CA #988CF0
split-complementary
#F08CB2 #8CF098 #8CE4F0
monochromatic
#E2206A #E9568E #F08CB2 #F7C2D6 #FBE4ED

Accessibility & contrast

On white

2.31
#F08CB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#F08CB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08CB2
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08CB2#FFFFFF#000000##000000
##F08CB21.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A0B3
Deuteranopia (green-blind)
#B2B1B0
Tritanopia (blue-blind)
#FE8799
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f08cb2;
/* rgb */ color: rgb(240, 140, 178);
/* oklch */ color: oklch(75.6% 0.128 356.4);
Tailwind
colors: {
  custom: {
    50: '#f7afc9',
    500: '#f08cb2',
    950: '#000000',
  },
}
SCSS
$custom: #f08cb2;
$custom-light: #f7afc9;
$custom-dark: #000000;
JSON
{
  "hex": "#f08cb2",
  "rgb": {
    "r": 240,
    "g": 140,
    "b": 178
  },
  "hsl": {
    "h": 337.2,
    "s": 76.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7565,
    "c": 0.12848,
    "h": 356.4
  },
  "luminance": 0.40496
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F08CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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