#F072F5#F072F5

#F072F5 is a light, highly saturated purple. Relative luminance 0.372; OKLCH L 74.6% C 0.218 H 326.0°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#F072F5
RGBrgb(240, 114, 245)
HSLhsl(298, 87%, 70%)
HSVhsv(298, 53%, 96%)
CMYKcmyk(2%, 53.5%, 0%, 3.9%)
CIE-LABlab(67.39, 65.69, -44.24)
CIE-LCHlch(67.39, 79.20, 326.05°)
OKLaboklab(74.64% 0.1809 -0.1219)
OKLCHoklch(74.64% 0.218 326)
XYZxyz(58.4327, 37.1557, 90.4625)
Luminance0.3715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F072F5 #77F572
analogous
#AE72F5 #F072F5 #F572B8
triadic
#F072F5 #F5F072 #72F5F0
tetradic
#F072F5 #F5AE72 #77F572 #72B8F5
square
#F072F5 #F5AE72 #77F572 #72B8F5
split-complementary
#F072F5 #B8F572 #72F5AE
monochromatic
#D510DD #EA39F1 #F072F5 #F6ABF9 #FCE2FD

Accessibility & contrast

On white

2.49
#F072F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#F072F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F072F5
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F072F5#FFFFFF#000000##000000
##F072F51.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#629AF9
Deuteranopia (green-blind)
#8BAAF1
Tritanopia (blue-blind)
#F682A9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f072f5;
/* rgb */ color: rgb(240, 114, 245);
/* oklch */ color: oklch(74.6% 0.218 326.0);
Tailwind
colors: {
  custom: {
    50: '#f8a0f9',
    500: '#f072f5',
    950: '#000000',
  },
}
SCSS
$custom: #f072f5;
$custom-light: #f8a0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f072f5",
  "rgb": {
    "r": 240,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 297.71,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74642,
    "c": 0.21816,
    "h": 326
  },
  "luminance": 0.37152
}

Semantic roles & 50–950 ramp

primary
#F072F5
secondary
#D1F3CF
accent
#E3020B
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F072F5

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

Preview Lab → · Contrast checker → · Palette generator →

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