#F07FDD#F07FDD

#F07FDD is a light, vivid pink. Relative luminance 0.389; OKLCH L 75.3% C 0.178 H 333.8°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#F07FDD
RGBrgb(240, 127, 221)
HSLhsl(310, 79%, 72%)
HSVhsv(310, 47%, 94%)
CMYKcmyk(0%, 47.1%, 7.9%, 5.9%)
CIE-LABlab(68.70, 55.52, -28.95)
CIE-LCHlch(68.70, 62.61, 332.46°)
OKLaboklab(75.28% 0.1595 -0.0784)
OKLCHoklch(75.28% 0.178 333.8)
XYZxyz(56.5756, 38.9280, 72.9265)
Luminance0.3892 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FDD #7FF092
analogous
#CA7FF0 #F07FDD #F07FA5
triadic
#F07FDD #DDF07F #7FDDF0
tetradic
#F07FDD #F0CA7F #7FF092 #7FA5F0
square
#F07FDD #F0CA7F #7FF092 #7FA5F0
split-complementary
#F07FDD #A5F07F #7FF0CA
monochromatic
#DB1ABA #EA48CE #F07FDD #F6B6EC #FCE4F8

Accessibility & contrast

On white

2.39
#F07FDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#F07FDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FDD
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FDD#FFFFFF#000000##000000
##F07FDD1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9DE0
Deuteranopia (green-blind)
#9DAEDA
Tritanopia (blue-blind)
#F985A4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f07fdd;
/* rgb */ color: rgb(240, 127, 221);
/* oklch */ color: oklch(75.3% 0.178 333.8);
Tailwind
colors: {
  custom: {
    50: '#f7a7e7',
    500: '#f07fdd',
    950: '#000000',
  },
}
SCSS
$custom: #f07fdd;
$custom-light: #f7a7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fdd",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 221
  },
  "hsl": {
    "h": 310.088,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75277,
    "c": 0.17777,
    "h": 333.8
  },
  "luminance": 0.38924
}

Semantic roles & 50–950 ramp

primary
#F07FDD
secondary
#D7F4DC
accent
#DB2D0A
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F07FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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