#F07CDC#F07CDC

#F07CDC is a light, vivid pink. Relative luminance 0.381; OKLCH L 74.8% C 0.182 H 334.1°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#F07CDC
RGBrgb(240, 124, 220)
HSLhsl(310, 79%, 71%)
HSVhsv(310, 48%, 94%)
CMYKcmyk(0%, 48.3%, 8.3%, 5.9%)
CIE-LABlab(68.10, 56.81, -29.32)
CIE-LCHlch(68.10, 63.93, 332.70°)
OKLaboklab(74.82% 0.1635 -0.0794)
OKLCHoklch(74.82% 0.182 334.1)
XYZxyz(56.0611, 38.1115, 72.0997)
Luminance0.3811 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CDC #7CF090
analogous
#CA7CF0 #F07CDC #F07CA2
triadic
#F07CDC #DCF07C #7CDCF0
tetradic
#F07CDC #F0CA7C #7CF090 #7CA2F0
square
#F07CDC #F0CA7C #7CF090 #7CA2F0
split-complementary
#F07CDC #A2F07C #7CF0CA
monochromatic
#D919B8 #EA45CD #F07CDC #F6B3EB #FCE4F8

Accessibility & contrast

On white

2.44
#F07CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#F07CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CDC
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CDC#FFFFFF#000000##000000
##F07CDC1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9BDF
Deuteranopia (green-blind)
#9CACD9
Tritanopia (blue-blind)
#F982A2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f07cdc;
/* rgb */ color: rgb(240, 124, 220);
/* oklch */ color: oklch(74.8% 0.182 334.1);
Tailwind
colors: {
  custom: {
    50: '#f7a6e7',
    500: '#f07cdc',
    950: '#000000',
  },
}
SCSS
$custom: #f07cdc;
$custom-light: #f7a6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f07cdc",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 310.345,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.7482,
    "c": 0.1818,
    "h": 334.1
  },
  "luminance": 0.38108
}

Semantic roles & 50–950 ramp

primary
#F07CDC
secondary
#D5F3DA
accent
#DC2E0A
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F07CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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