#F071DB#F071DB

#F071DB is a light, vivid purple. Relative luminance 0.354; OKLCH L 73.3% C 0.198 H 334.1°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#F071DB
RGBrgb(240, 113, 219)
HSLhsl(310, 81%, 69%)
HSVhsv(310, 53%, 94%)
CMYKcmyk(0%, 52.9%, 8.8%, 5.9%)
CIE-LABlab(66.10, 61.83, -31.86)
CIE-LCHlch(66.10, 69.55, 332.74°)
OKLaboklab(73.32% 0.1784 -0.0865)
OKLCHoklch(73.32% 0.198 334.1)
XYZxyz(54.6266, 35.4538, 70.9702)
Luminance0.3545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F071DB #71F086
analogous
#C671F0 #F071DB #F0719C
triadic
#F071DB #DBF071 #71DBF0
tetradic
#F071DB #F0C671 #71F086 #719CF0
square
#F071DB #F0C671 #71F086 #719CF0
split-complementary
#F071DB #9CF071 #71F0C6
monochromatic
#D116B2 #EA3ACD #F071DB #F6A8E9 #FCE0F7

Accessibility & contrast

On white

2.60
#F071DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#F071DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F071DB
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F071DB#FFFFFF#000000##000000
##F071DB1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7095DE
Deuteranopia (green-blind)
#95A7D8
Tritanopia (blue-blind)
#FA799C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f071db;
/* rgb */ color: rgb(240, 113, 219);
/* oklch */ color: oklch(73.3% 0.198 334.1);
Tailwind
colors: {
  custom: {
    50: '#f89fe6',
    500: '#f071db',
    950: '#000000',
  },
}
SCSS
$custom: #f071db;
$custom-light: #f89fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#f071db",
  "rgb": {
    "r": 240,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 309.921,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73323,
    "c": 0.19825,
    "h": 334.1
  },
  "luminance": 0.3545
}

Semantic roles & 50–950 ramp

primary
#F071DB
secondary
#CCF1D2
accent
#DD2B08
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F071DB

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

Preview Lab → · Contrast checker → · Palette generator →

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