#F07DDA#F07DDA

#F07DDA is a light, vivid pink. Relative luminance 0.383; OKLCH L 74.9% C 0.179 H 334.9°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#F07DDA
RGBrgb(240, 125, 218)
HSLhsl(311, 79%, 72%)
HSVhsv(311, 48%, 94%)
CMYKcmyk(0%, 47.9%, 9.2%, 5.9%)
CIE-LABlab(68.21, 56.00, -28.04)
CIE-LCHlch(68.21, 62.63, 333.40°)
OKLaboklab(74.88% 0.1617 -0.0758)
OKLCHoklch(74.88% 0.179 334.9)
XYZxyz(55.9237, 38.2581, 70.7551)
Luminance0.3825 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07DDA #7DF093
analogous
#CD7DF0 #F07DDA #F07DA1
triadic
#F07DDA #DAF07D #7DDAF0
tetradic
#F07DDA #F0CD7D #7DF093 #7DA1F0
square
#F07DDA #F0CD7D #7DF093 #7DA1F0
split-complementary
#F07DDA #A1F07D #7DF0CD
monochromatic
#DA19B5 #EA46CA #F07DDA #F6B4EA #FCE4F7

Accessibility & contrast

On white

2.43
#F07DDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#F07DDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07DDA
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07DDA#FFFFFF#000000##000000
##F07DDA1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9CDD
Deuteranopia (green-blind)
#9DADD7
Tritanopia (blue-blind)
#FA83A2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f07dda;
/* rgb */ color: rgb(240, 125, 218);
/* oklch */ color: oklch(74.9% 0.179 334.9);
Tailwind
colors: {
  custom: {
    50: '#f7a6e5',
    500: '#f07dda',
    950: '#000000',
  },
}
SCSS
$custom: #f07dda;
$custom-light: #f7a6e5;
$custom-dark: #000000;
JSON
{
  "hex": "#f07dda",
  "rgb": {
    "r": 240,
    "g": 125,
    "b": 218
  },
  "hsl": {
    "h": 311.478,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74875,
    "c": 0.1786,
    "h": 334.9
  },
  "luminance": 0.38254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07DDA

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

Preview Lab → · Contrast checker → · Palette generator →

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