#F07CD7#F07CD7

#F07CD7 is a light, vivid pink. Relative luminance 0.378; OKLCH L 74.6% C 0.178 H 336.0°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#F07CD7
RGBrgb(240, 124, 215)
HSLhsl(313, 79%, 71%)
HSVhsv(313, 48%, 94%)
CMYKcmyk(0%, 48.3%, 10.4%, 5.9%)
CIE-LABlab(67.91, 56.00, -26.84)
CIE-LCHlch(67.91, 62.10, 334.40°)
OKLaboklab(74.61% 0.1625 -0.0724)
OKLCHoklch(74.61% 0.178 336)
XYZxyz(55.4088, 37.8506, 68.6643)
Luminance0.3785 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CD7 #7CF095
analogous
#CF7CF0 #F07CD7 #F07C9D
triadic
#F07CD7 #D7F07C #7CD7F0
tetradic
#F07CD7 #F0CF7C #7CF095 #7C9DF0
square
#F07CD7 #F0CF7C #7CF095 #7C9DF0
split-complementary
#F07CD7 #9DF07C #7CF0CF
monochromatic
#D919AF #EA45C6 #F07CD7 #F6B3E8 #FCE4F7

Accessibility & contrast

On white

2.45
#F07CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#F07CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CD7
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CD7#FFFFFF#000000##000000
##F07CD71.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9BDA
Deuteranopia (green-blind)
#9DACD4
Tritanopia (blue-blind)
#FA81A0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f07cd7;
/* rgb */ color: rgb(240, 124, 215);
/* oklch */ color: oklch(74.6% 0.178 336.0);
Tailwind
colors: {
  custom: {
    50: '#f7a5e3',
    500: '#f07cd7',
    950: '#000000',
  },
}
SCSS
$custom: #f07cd7;
$custom-light: #f7a5e3;
$custom-dark: #000000;
JSON
{
  "hex": "#f07cd7",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 312.931,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74614,
    "c": 0.17787,
    "h": 336
  },
  "luminance": 0.37847
}

Semantic roles & 50–950 ramp

primary
#F07CD7
secondary
#D5F3DB
accent
#DC370A
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #F07CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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