#F07CDA#F07CDA

#F07CDA is a light, vivid pink. Relative luminance 0.380; OKLCH L 74.7% C 0.180 H 334.8°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#F07CDA
RGBrgb(240, 124, 218)
HSLhsl(311, 79%, 71%)
HSVhsv(311, 48%, 94%)
CMYKcmyk(0%, 48.3%, 9.2%, 5.9%)
CIE-LABlab(68.03, 56.48, -28.33)
CIE-LCHlch(68.03, 63.19, 333.37°)
OKLaboklab(74.74% 0.1631 -0.0766)
OKLCHoklch(74.74% 0.18 334.8)
XYZxyz(55.7978, 38.0062, 70.7131)
Luminance0.3800 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CDA #7CF092
analogous
#CC7CF0 #F07CDA #F07CA0
triadic
#F07CDA #DAF07C #7CDAF0
tetradic
#F07CDA #F0CC7C #7CF092 #7CA0F0
square
#F07CDA #F0CC7C #7CF092 #7CA0F0
split-complementary
#F07CDA #A0F07C #7CF0CC
monochromatic
#D919B4 #EA45CA #F07CDA #F6B3EA #FCE4F7

Accessibility & contrast

On white

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

On black

8.60
#F07CDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CDA
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CDA#FFFFFF#000000##000000
##F07CDA1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9BDD
Deuteranopia (green-blind)
#9CACD7
Tritanopia (blue-blind)
#FA82A1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f07cda;
/* rgb */ color: rgb(240, 124, 218);
/* oklch */ color: oklch(74.7% 0.180 334.8);
Tailwind
colors: {
  custom: {
    50: '#f7a5e5',
    500: '#f07cda',
    950: '#000000',
  },
}
SCSS
$custom: #f07cda;
$custom-light: #f7a5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#f07cda",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 218
  },
  "hsl": {
    "h": 311.379,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74737,
    "c": 0.1802,
    "h": 334.8
  },
  "luminance": 0.38003
}

Semantic roles & 50–950 ramp

primary
#F07CDA
secondary
#D5F3DB
accent
#DC320A
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F07CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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