#F08CDB#F08CDB

#F08CDB is a light, vivid pink. Relative luminance 0.424; OKLCH L 77.1% C 0.155 H 335.2°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#F08CDB
RGBrgb(240, 140, 219)
HSLhsl(313, 77%, 75%)
HSVhsv(313, 42%, 94%)
CMYKcmyk(0%, 41.7%, 8.8%, 5.9%)
CIE-LABlab(71.15, 48.71, -24.10)
CIE-LCHlch(71.15, 54.35, 333.68°)
OKLaboklab(77.08% 0.1404 -0.0649)
OKLCHoklch(77.08% 0.155 335.2)
XYZxyz(58.0993, 42.3992, 72.1278)
Luminance0.4240 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08CDB #8CF0A1
analogous
#D38CF0 #F08CDB #F08CA9
triadic
#F08CDB #DBF08C #8CDBF0
tetradic
#F08CDB #F0D38C #8CF0A1 #8CA9F0
square
#F08CDB #F0D38C #8CF0A1 #8CA9F0
split-complementary
#F08CDB #A9F08C #8CF0D3
monochromatic
#E220B9 #E956CA #F08CDB #F7C2EC #FBE4F7

Accessibility & contrast

On white

2.22
#F08CDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#F08CDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08CDB
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08CDB#FFFFFF#000000##000000
##F08CDB1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA5DE
Deuteranopia (green-blind)
#A7B4D8
Tritanopia (blue-blind)
#F990AA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f08cdb;
/* rgb */ color: rgb(240, 140, 219);
/* oklch */ color: oklch(77.1% 0.155 335.2);
Tailwind
colors: {
  custom: {
    50: '#f7b0e6',
    500: '#f08cdb',
    950: '#000000',
  },
}
SCSS
$custom: #f08cdb;
$custom-light: #f7b0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f08cdb",
  "rgb": {
    "r": 240,
    "g": 140,
    "b": 219
  },
  "hsl": {
    "h": 312.6,
    "s": 76.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77083,
    "c": 0.15464,
    "h": 335.2
  },
  "luminance": 0.42396
}

Semantic roles & 50–950 ramp

primary
#F08CDB
secondary
#D8F3DE
accent
#D9370C
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F08CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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