#F07CA7#F07CA7

#F07CA7 is a light, vivid pink. Relative luminance 0.357; OKLCH L 72.9% C 0.149 H 358.0°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#F07CA7
RGBrgb(240, 124, 167)
HSLhsl(338, 79%, 71%)
HSVhsv(338, 48%, 94%)
CMYKcmyk(0%, 48.3%, 30.4%, 5.9%)
CIE-LABlab(66.32, 49.14, -2.27)
CIE-LCHlch(66.32, 49.19, 357.35°)
OKLaboklab(72.9% 0.149 -0.0053)
OKLCHoklch(72.9% 0.149 358)
XYZxyz(50.1199, 35.7350, 40.8096)
Luminance0.3573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CA7 #7CF0C5
analogous
#F07CE1 #F07CA7 #F08B7C
triadic
#F07CA7 #A7F07C #7CA7F0
tetradic
#F07CA7 #E1F07C #7CF0C5 #8B7CF0
square
#F07CA7 #E1F07C #7CF0C5 #8B7CF0
split-complementary
#F07CA7 #7CF08B #7CE1F0
monochromatic
#D91960 #EA4582 #F07CA7 #F6B3CC #FCE4ED

Accessibility & contrast

On white

2.58
#F07CA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#F07CA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CA7
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CA7#FFFFFF#000000##000000
##F07CA71.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D94A8
Deuteranopia (green-blind)
#ABA9A4
Tritanopia (blue-blind)
#FF758C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f07ca7;
/* rgb */ color: rgb(240, 124, 167);
/* oklch */ color: oklch(72.9% 0.149 358.0);
Tailwind
colors: {
  custom: {
    50: '#f8a5c1',
    500: '#f07ca7',
    950: '#000000',
  },
}
SCSS
$custom: #f07ca7;
$custom-light: #f8a5c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ca7",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 167
  },
  "hsl": {
    "h": 337.759,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72896,
    "c": 0.14908,
    "h": 358
  },
  "luminance": 0.35731
}

Semantic roles & 50–950 ramp

primary
#F07CA7
secondary
#D5F3E8
accent
#DC8E0A
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F07CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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