#F07CA2#F07CA2

#F07CA2 is a light, vivid pink. Relative luminance 0.355; OKLCH L 72.7% C 0.147 H 0.6°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#F07CA2
RGBrgb(240, 124, 162)
HSLhsl(340, 79%, 71%)
HSVhsv(340, 48%, 94%)
CMYKcmyk(0%, 48.3%, 32.5%, 5.9%)
CIE-LABlab(66.18, 48.51, 0.35)
CIE-LCHlch(66.18, 48.52, 0.42°)
OKLaboklab(72.75% 0.1473 0.0016)
OKLCHoklch(72.75% 0.147 0.6)
XYZxyz(49.6666, 35.5537, 38.4222)
Luminance0.3555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CA2 #7CF0CA
analogous
#F07CDC #F07CA2 #F0907C
triadic
#F07CA2 #A2F07C #7CA2F0
tetradic
#F07CA2 #DCF07C #7CF0CA #907CF0
square
#F07CA2 #DCF07C #7CF0CA #907CF0
split-complementary
#F07CA2 #7CF090 #7CDCF0
monochromatic
#D91958 #EA457B #F07CA2 #F6B3C9 #FCE4EC

Accessibility & contrast

On white

2.59
#F07CA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#F07CA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CA2
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CA2#FFFFFF#000000##000000
##F07CA21.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E94A3
Deuteranopia (green-blind)
#ACA99F
Tritanopia (blue-blind)
#FF738A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f07ca2;
/* rgb */ color: rgb(240, 124, 162);
/* oklch */ color: oklch(72.7% 0.147 0.6);
Tailwind
colors: {
  custom: {
    50: '#f8a5bd',
    500: '#f07ca2',
    950: '#000000',
  },
}
SCSS
$custom: #f07ca2;
$custom-light: #f8a5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ca2",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 162
  },
  "hsl": {
    "h": 340.345,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72745,
    "c": 0.14729,
    "h": 0.6
  },
  "luminance": 0.35549
}

Semantic roles & 50–950 ramp

primary
#F07CA2
secondary
#D5F3E9
accent
#DC970A
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F07CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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