#F07FDB#F07FDB

#F07FDB is a light, vivid pink. Relative luminance 0.388; OKLCH L 75.2% C 0.176 H 334.6°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#F07FDB
RGBrgb(240, 127, 219)
HSLhsl(311, 79%, 72%)
HSVhsv(311, 47%, 94%)
CMYKcmyk(0%, 47.1%, 8.8%, 5.9%)
CIE-LABlab(68.62, 55.19, -27.96)
CIE-LCHlch(68.62, 61.87, 333.13°)
OKLaboklab(75.19% 0.1591 -0.0756)
OKLCHoklch(75.19% 0.176 334.6)
XYZxyz(56.3107, 38.8220, 71.5316)
Luminance0.3882 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FDB #7FF094
analogous
#CC7FF0 #F07FDB #F07FA3
triadic
#F07FDB #DBF07F #7FDBF0
tetradic
#F07FDB #F0CC7F #7FF094 #7FA3F0
square
#F07FDB #F0CC7F #7FF094 #7FA3F0
split-complementary
#F07FDB #A3F07F #7FF0CC
monochromatic
#DB1AB7 #EA48CC #F07FDB #F6B6EA #FCE4F7

Accessibility & contrast

On white

2.40
#F07FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#F07FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FDB
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FDB#FFFFFF#000000##000000
##F07FDB1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9DDE
Deuteranopia (green-blind)
#9EADD8
Tritanopia (blue-blind)
#F985A3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f07fdb;
/* rgb */ color: rgb(240, 127, 219);
/* oklch */ color: oklch(75.2% 0.176 334.6);
Tailwind
colors: {
  custom: {
    50: '#f7a7e6',
    500: '#f07fdb',
    950: '#000000',
  },
}
SCSS
$custom: #f07fdb;
$custom-light: #f7a7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fdb",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 311.15,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75194,
    "c": 0.17616,
    "h": 334.6
  },
  "luminance": 0.38818
}

Semantic roles & 50–950 ramp

primary
#F07FDB
secondary
#D7F4DD
accent
#DB310A
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F07FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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