#F07FD4#F07FD4

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

Color values

HEX#F07FD4
RGBrgb(240, 127, 212)
HSLhsl(315, 79%, 72%)
HSVhsv(315, 47%, 94%)
CMYKcmyk(0%, 47.1%, 11.7%, 5.9%)
CIE-LABlab(68.36, 54.07, -24.48)
CIE-LCHlch(68.36, 59.35, 335.64°)
OKLaboklab(74.91% 0.1575 -0.0659)
OKLCHoklch(74.91% 0.171 337.3)
XYZxyz(55.4085, 38.4612, 66.7799)
Luminance0.3846 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FD4 #7FF09B
analogous
#D37FF0 #F07FD4 #F07F9C
triadic
#F07FD4 #D4F07F #7FD4F0
tetradic
#F07FD4 #F0D37F #7FF09B #7F9CF0
square
#F07FD4 #F0D37F #7FF09B #7F9CF0
split-complementary
#F07FD4 #9CF07F #7FF0D3
monochromatic
#DB1AAB #EA48C2 #F07FD4 #F6B6E6 #FCE4F6

Accessibility & contrast

On white

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

On black

8.69
#F07FD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FD4
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FD4#FFFFFF#000000##000000
##F07FD41.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f07fd4;
/* rgb */ color: rgb(240, 127, 212);
/* oklch */ color: oklch(74.9% 0.171 337.3);
Tailwind
colors: {
  custom: {
    50: '#f7a7e1',
    500: '#f07fd4',
    950: '#000000',
  },
}
SCSS
$custom: #f07fd4;
$custom-light: #f7a7e1;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fd4",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 212
  },
  "hsl": {
    "h": 314.867,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74912,
    "c": 0.17071,
    "h": 337.3
  },
  "luminance": 0.38457
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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