#F07FA5#F07FA5

#F07FA5 is a light, vivid pink. Relative luminance 0.364; OKLCH L 73.3% C 0.144 H 359.9°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#F07FA5
RGBrgb(240, 127, 165)
HSLhsl(340, 79%, 72%)
HSVhsv(340, 47%, 94%)
CMYKcmyk(0%, 47.1%, 31.2%, 5.9%)
CIE-LABlab(66.84, 47.40, -0.37)
CIE-LCHlch(66.84, 47.40, 359.55°)
OKLaboklab(73.28% 0.1438 -0.0003)
OKLCHoklch(73.28% 0.144 359.9)
XYZxyz(50.3181, 36.4250, 39.9707)
Luminance0.3642 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FA5 #7FF0CA
analogous
#F07FDE #F07FA5 #F0927F
triadic
#F07FA5 #A5F07F #7FA5F0
tetradic
#F07FA5 #DEF07F #7FF0CA #927FF0
square
#F07FA5 #DEF07F #7FF0CA #927FF0
split-complementary
#F07FA5 #7FF092 #7FDEF0
monochromatic
#DB1A5B #EA487E #F07FA5 #F6B6CC #FCE4EC

Accessibility & contrast

On white

2.53
#F07FA5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#F07FA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FA5
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FA5#FFFFFF#000000##000000
##F07FA51.002.538.288.28
#FFFFFF2.531.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9096A6
Deuteranopia (green-blind)
#ADABA2
Tritanopia (blue-blind)
#FF778D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f07fa5;
/* rgb */ color: rgb(240, 127, 165);
/* oklch */ color: oklch(73.3% 0.144 359.9);
Tailwind
colors: {
  custom: {
    50: '#f8a7bf',
    500: '#f07fa5',
    950: '#000000',
  },
}
SCSS
$custom: #f07fa5;
$custom-light: #f8a7bf;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fa5",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 165
  },
  "hsl": {
    "h": 339.823,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73275,
    "c": 0.14375,
    "h": 359.9
  },
  "luminance": 0.36421
}

Semantic roles & 50–950 ramp

primary
#F07FA5
secondary
#D7F4EA
accent
#DB950A
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #F07FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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