#F07FD3#F07FD3

#F07FD3 is a light, vivid pink. Relative luminance 0.384; OKLCH L 74.9% C 0.170 H 337.7°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#F07FD3
RGBrgb(240, 127, 211)
HSLhsl(315, 79%, 72%)
HSVhsv(315, 47%, 94%)
CMYKcmyk(0%, 47.1%, 12.1%, 5.9%)
CIE-LABlab(68.32, 53.91, -23.98)
CIE-LCHlch(68.32, 59.00, 336.02°)
OKLaboklab(74.87% 0.1573 -0.0644)
OKLCHoklch(74.87% 0.17 337.7)
XYZxyz(55.2828, 38.4109, 66.1177)
Luminance0.3841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FD3 #7FF09C
analogous
#D47FF0 #F07FD3 #F07F9B
triadic
#F07FD3 #D3F07F #7FD3F0
tetradic
#F07FD3 #F0D47F #7FF09C #7F9BF0
square
#F07FD3 #F0D47F #7FF09C #7F9BF0
split-complementary
#F07FD3 #9BF07F #7FF0D4
monochromatic
#DB1AA9 #EA48C0 #F07FD3 #F6B6E6 #FCE4F6

Accessibility & contrast

On white

2.42
#F07FD3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#F07FD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FD3
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FD3#FFFFFF#000000##000000
##F07FD31.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#829CD6
Deuteranopia (green-blind)
#A1ADD0
Tritanopia (blue-blind)
#FB839F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f07fd3;
/* rgb */ color: rgb(240, 127, 211);
/* oklch */ color: oklch(74.9% 0.170 337.7);
Tailwind
colors: {
  custom: {
    50: '#f7a7e0',
    500: '#f07fd3',
    950: '#000000',
  },
}
SCSS
$custom: #f07fd3;
$custom-light: #f7a7e0;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fd3",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 211
  },
  "hsl": {
    "h": 315.398,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74872,
    "c": 0.16996,
    "h": 337.7
  },
  "luminance": 0.38407
}

Semantic roles & 50–950 ramp

primary
#F07FD3
secondary
#D7F4DF
accent
#DB400A
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #F07FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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