#F07FD2#F07FD2

#F07FD2 is a light, vivid pink. Relative luminance 0.384; OKLCH L 74.8% C 0.169 H 338.1°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#F07FD2
RGBrgb(240, 127, 210)
HSLhsl(316, 79%, 72%)
HSVhsv(316, 47%, 94%)
CMYKcmyk(0%, 47.1%, 12.5%, 5.9%)
CIE-LABlab(68.29, 53.75, -23.48)
CIE-LCHlch(68.29, 58.66, 336.41°)
OKLaboklab(74.83% 0.157 -0.063)
OKLCHoklch(74.83% 0.169 338.1)
XYZxyz(55.1578, 38.3609, 65.4595)
Luminance0.3836 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FD2 #7FF09D
analogous
#D57FF0 #F07FD2 #F07F9A
triadic
#F07FD2 #D2F07F #7FD2F0
tetradic
#F07FD2 #F0D57F #7FF09D #7F9AF0
square
#F07FD2 #F0D57F #7FF09D #7F9AF0
split-complementary
#F07FD2 #9AF07F #7FF0D5
monochromatic
#DB1AA8 #EA48BF #F07FD2 #F6B6E5 #FCE4F5

Accessibility & contrast

On white

2.42
#F07FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#F07FD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FD2
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FD2#FFFFFF#000000##000000
##F07FD21.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#829CD5
Deuteranopia (green-blind)
#A1ADCF
Tritanopia (blue-blind)
#FB829F
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f07fd2;
/* rgb */ color: rgb(240, 127, 210);
/* oklch */ color: oklch(74.8% 0.169 338.1);
Tailwind
colors: {
  custom: {
    50: '#f7a7e0',
    500: '#f07fd2',
    950: '#000000',
  },
}
SCSS
$custom: #f07fd2;
$custom-light: #f7a7e0;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fd2",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 315.929,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74833,
    "c": 0.16922,
    "h": 338.1
  },
  "luminance": 0.38357
}

Semantic roles & 50–950 ramp

primary
#F07FD2
secondary
#D7F4DF
accent
#DB420A
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #F07FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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