#F07CD5#F07CD5

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

Color values

HEX#F07CD5
RGBrgb(240, 124, 213)
HSLhsl(314, 79%, 71%)
HSVhsv(314, 48%, 94%)
CMYKcmyk(0%, 48.3%, 11.2%, 5.9%)
CIE-LABlab(67.83, 55.69, -25.84)
CIE-LCHlch(67.83, 61.39, 335.11°)
OKLaboklab(74.53% 0.162 -0.0696)
OKLCHoklch(74.53% 0.176 336.7)
XYZxyz(55.1533, 37.7484, 67.3191)
Luminance0.3775 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CD5 #7CF097
analogous
#D17CF0 #F07CD5 #F07C9B
triadic
#F07CD5 #D5F07C #7CD5F0
tetradic
#F07CD5 #F0D17C #7CF097 #7C9BF0
square
#F07CD5 #F0D17C #7CF097 #7C9BF0
split-complementary
#F07CD5 #9BF07C #7CF0D1
monochromatic
#D919AC #EA45C3 #F07CD5 #F6B3E7 #FCE4F6

Accessibility & contrast

On white

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

On black

8.55
#F07CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CD5
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CD5#FFFFFF#000000##000000
##F07CD51.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9AD8
Deuteranopia (green-blind)
#9EACD2
Tritanopia (blue-blind)
#FA809F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f07cd5;
/* rgb */ color: rgb(240, 124, 213);
/* oklch */ color: oklch(74.5% 0.176 336.7);
Tailwind
colors: {
  custom: {
    50: '#f7a5e2',
    500: '#f07cd5',
    950: '#000000',
  },
}
SCSS
$custom: #f07cd5;
$custom-light: #f7a5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#f07cd5",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 313.966,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74533,
    "c": 0.17633,
    "h": 336.7
  },
  "luminance": 0.37745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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