#F07CD4#F07CD4

#F07CD4 is a light, vivid pink. Relative luminance 0.377; OKLCH L 74.5% C 0.176 H 337.1°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#F07CD4
RGBrgb(240, 124, 212)
HSLhsl(314, 79%, 71%)
HSVhsv(314, 48%, 94%)
CMYKcmyk(0%, 48.3%, 11.7%, 5.9%)
CIE-LABlab(67.80, 55.53, -25.34)
CIE-LCHlch(67.80, 61.04, 335.47°)
OKLaboklab(74.49% 0.1618 -0.0682)
OKLCHoklch(74.49% 0.176 337.1)
XYZxyz(55.0268, 37.6978, 66.6527)
Luminance0.3769 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CD4 #7CF098
analogous
#D27CF0 #F07CD4 #F07C9A
triadic
#F07CD4 #D4F07C #7CD4F0
tetradic
#F07CD4 #F0D27C #7CF098 #7C9AF0
square
#F07CD4 #F0D27C #7CF098 #7C9AF0
split-complementary
#F07CD4 #9AF07C #7CF0D2
monochromatic
#D919AA #EA45C2 #F07CD4 #F6B3E6 #FCE4F6

Accessibility & contrast

On white

2.46
#F07CD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#F07CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CD4
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CD4#FFFFFF#000000##000000
##F07CD41.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9AD7
Deuteranopia (green-blind)
#9EACD1
Tritanopia (blue-blind)
#FB809E
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f07cd4;
/* rgb */ color: rgb(240, 124, 212);
/* oklch */ color: oklch(74.5% 0.176 337.1);
Tailwind
colors: {
  custom: {
    50: '#f7a5e1',
    500: '#f07cd4',
    950: '#000000',
  },
}
SCSS
$custom: #f07cd4;
$custom-light: #f7a5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#f07cd4",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 314.483,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74493,
    "c": 0.17558,
    "h": 337.1
  },
  "luminance": 0.37694
}

Semantic roles & 50–950 ramp

primary
#F07CD4
secondary
#D5F3DC
accent
#DC3C0A
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #F07CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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