#F07FD5#F07FD5

#F07FD5 is a light, vivid pink. Relative luminance 0.385; OKLCH L 75.0% C 0.171 H 336.9°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#F07FD5
RGBrgb(240, 127, 213)
HSLhsl(314, 79%, 72%)
HSVhsv(314, 47%, 94%)
CMYKcmyk(0%, 47.1%, 11.2%, 5.9%)
CIE-LABlab(68.40, 54.23, -24.98)
CIE-LCHlch(68.40, 59.70, 335.27°)
OKLaboklab(74.95% 0.1577 -0.0672)
OKLCHoklch(74.95% 0.171 336.9)
XYZxyz(55.5350, 38.5118, 67.4463)
Luminance0.3851 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FD5 #7FF09A
analogous
#D27FF0 #F07FD5 #F07F9D
triadic
#F07FD5 #D5F07F #7FD5F0
tetradic
#F07FD5 #F0D27F #7FF09A #7F9DF0
square
#F07FD5 #F0D27F #7FF09A #7F9DF0
split-complementary
#F07FD5 #9DF07F #7FF0D2
monochromatic
#DB1AAD #EA48C3 #F07FD5 #F6B6E7 #FCE4F6

Accessibility & contrast

On white

2.41
#F07FD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#F07FD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FD5
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FD5#FFFFFF#000000##000000
##F07FD51.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#819CD8
Deuteranopia (green-blind)
#A0ADD2
Tritanopia (blue-blind)
#FA83A0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f07fd5;
/* rgb */ color: rgb(240, 127, 213);
/* oklch */ color: oklch(75.0% 0.171 336.9);
Tailwind
colors: {
  custom: {
    50: '#f7a7e2',
    500: '#f07fd5',
    950: '#000000',
  },
}
SCSS
$custom: #f07fd5;
$custom-light: #f7a7e2;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fd5",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 213
  },
  "hsl": {
    "h": 314.336,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74951,
    "c": 0.17148,
    "h": 336.9
  },
  "luminance": 0.38508
}

Semantic roles & 50–950 ramp

primary
#F07FD5
secondary
#D7F4DE
accent
#DB3C0A
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #F07FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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