#F07FDC#F07FDC

#F07FDC is a light, vivid pink. Relative luminance 0.389; OKLCH L 75.2% C 0.177 H 334.2°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#F07FDC
RGBrgb(240, 127, 220)
HSLhsl(311, 79%, 72%)
HSVhsv(311, 47%, 94%)
CMYKcmyk(0%, 47.1%, 8.3%, 5.9%)
CIE-LABlab(68.66, 55.35, -28.46)
CIE-LCHlch(68.66, 62.24, 332.79°)
OKLaboklab(75.24% 0.1593 -0.077)
OKLCHoklch(75.24% 0.177 334.2)
XYZxyz(56.4428, 38.8749, 72.2270)
Luminance0.3887 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FDC #7FF093
analogous
#CB7FF0 #F07FDC #F07FA4
triadic
#F07FDC #DCF07F #7FDCF0
tetradic
#F07FDC #F0CB7F #7FF093 #7FA4F0
square
#F07FDC #F0CB7F #7FF093 #7FA4F0
split-complementary
#F07FDC #A4F07F #7FF0CB
monochromatic
#DB1AB9 #EA48CD #F07FDC #F6B6EB #FCE4F8

Accessibility & contrast

On white

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

On black

8.77
#F07FDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FDC
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FDC#FFFFFF#000000##000000
##F07FDC1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9DDF
Deuteranopia (green-blind)
#9EAED9
Tritanopia (blue-blind)
#F985A3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f07fdc;
/* rgb */ color: rgb(240, 127, 220);
/* oklch */ color: oklch(75.2% 0.177 334.2);
Tailwind
colors: {
  custom: {
    50: '#f7a7e7',
    500: '#f07fdc',
    950: '#000000',
  },
}
SCSS
$custom: #f07fdc;
$custom-light: #f7a7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fdc",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 220
  },
  "hsl": {
    "h": 310.619,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75236,
    "c": 0.17696,
    "h": 334.2
  },
  "luminance": 0.38871
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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