#F041D5#F041D5

#F041D5 is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 68.1% C 0.256 H 335.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#F041D5
RGBrgb(240, 65, 213)
HSLhsl(309, 85%, 60%)
HSVhsv(309, 73%, 94%)
CMYKcmyk(0%, 72.9%, 11.2%, 5.9%)
CIE-LABlab(59.08, 79.57, -39.42)
CIE-LCHlch(59.08, 88.80, 333.64°)
OKLaboklab(68.11% 0.2323 -0.1077)
OKLCHoklch(68.11% 0.256 335.1)
XYZxyz(49.8363, 27.1144, 65.5468)
Luminance0.2711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F041D5 #41F05C
analogous
#B341F0 #F041D5 #F0417E
triadic
#F041D5 #D5F041 #41D5F0
tetradic
#F041D5 #F0B341 #41F05C #417EF0
square
#F041D5 #F0B341 #41F05C #417EF0
split-complementary
#F041D5 #7EF041 #41F0B3
monochromatic
#A90D91 #E212C2 #F041D5 #F47AE2 #F9B2EE

Accessibility & contrast

On white

3.27
#F041D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#F041D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F041D5
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F041D5#FFFFFF#000000##000000
##F041D51.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#407ED9
Deuteranopia (green-blind)
#7F97D1
Tritanopia (blue-blind)
#FC4F87
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #f041d5;
/* rgb */ color: rgb(240, 65, 213);
/* oklch */ color: oklch(68.1% 0.256 335.1);
Tailwind
colors: {
  custom: {
    50: '#f986e2',
    500: '#f041d5',
    950: '#000000',
  },
}
SCSS
$custom: #f041d5;
$custom-light: #f986e2;
$custom-dark: #000000;
JSON
{
  "hex": "#f041d5",
  "rgb": {
    "r": 240,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 309.257,
    "s": 85.366,
    "l": 59.804
  },
  "oklch": {
    "l": 0.68114,
    "c": 0.25604,
    "h": 335.1
  },
  "luminance": 0.2711
}

Semantic roles & 50–950 ramp

primary
#F041D5
secondary
#A5E8AF
accent
#FC4C2C
background
#FFF8FD
surface
#FFF0FB
border
#D7CBD4
text
#180C15
muted
#867D83

Preview Lab

Preview with #F041D5

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

Preview Lab → · Contrast checker → · Palette generator →

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