#F07FDA#F07FDA

#F07FDA is a light, vivid pink. Relative luminance 0.388; OKLCH L 75.2% C 0.175 H 335.0°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#F07FDA
RGBrgb(240, 127, 218)
HSLhsl(312, 79%, 72%)
HSVhsv(312, 47%, 94%)
CMYKcmyk(0%, 47.1%, 9.2%, 5.9%)
CIE-LABlab(68.58, 55.03, -27.47)
CIE-LCHlch(68.58, 61.50, 333.47°)
OKLaboklab(75.15% 0.1589 -0.0742)
OKLCHoklch(75.15% 0.175 335)
XYZxyz(56.1795, 38.7695, 70.8403)
Luminance0.3877 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FDA #7FF095
analogous
#CD7FF0 #F07FDA #F07FA2
triadic
#F07FDA #DAF07F #7FDAF0
tetradic
#F07FDA #F0CD7F #7FF095 #7FA2F0
square
#F07FDA #F0CD7F #7FF095 #7FA2F0
split-complementary
#F07FDA #A2F07F #7FF0CD
monochromatic
#DB1AB5 #EA48CA #F07FDA #F6B6EA #FCE4F7

Accessibility & contrast

On white

2.40
#F07FDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#F07FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FDA
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FDA#FFFFFF#000000##000000
##F07FDA1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9DDD
Deuteranopia (green-blind)
#9EADD7
Tritanopia (blue-blind)
#FA85A3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f07fda;
/* rgb */ color: rgb(240, 127, 218);
/* oklch */ color: oklch(75.2% 0.175 335.0);
Tailwind
colors: {
  custom: {
    50: '#f7a7e5',
    500: '#f07fda',
    950: '#000000',
  },
}
SCSS
$custom: #f07fda;
$custom-light: #f7a7e5;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fda",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 311.681,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75153,
    "c": 0.17537,
    "h": 335
  },
  "luminance": 0.38766
}

Semantic roles & 50–950 ramp

primary
#F07FDA
secondary
#D7F4DD
accent
#DB330A
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171015
muted
#857F84

Preview Lab

Preview with #F07FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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