#F07DDB#F07DDB

#F07DDB is a light, vivid pink. Relative luminance 0.383; OKLCH L 74.9% C 0.179 H 334.5°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#F07DDB
RGBrgb(240, 125, 219)
HSLhsl(311, 79%, 72%)
HSVhsv(311, 48%, 94%)
CMYKcmyk(0%, 47.9%, 8.8%, 5.9%)
CIE-LABlab(68.25, 56.16, -28.54)
CIE-LCHlch(68.25, 63.00, 333.06°)
OKLaboklab(74.92% 0.1619 -0.0772)
OKLCHoklch(74.92% 0.179 334.5)
XYZxyz(56.0550, 38.3106, 71.4463)
Luminance0.3831 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07DDB #7DF092
analogous
#CC7DF0 #F07DDB #F07DA2
triadic
#F07DDB #DBF07D #7DDBF0
tetradic
#F07DDB #F0CC7D #7DF092 #7DA2F0
square
#F07DDB #F0CC7D #7DF092 #7DA2F0
split-complementary
#F07DDB #A2F07D #7DF0CC
monochromatic
#DA19B6 #EA46CC #F07DDB #F6B4EA #FCE4F7

Accessibility & contrast

On white

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

On black

8.66
#F07DDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07DDB
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07DDB#FFFFFF#000000##000000
##F07DDB1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9CDE
Deuteranopia (green-blind)
#9DADD8
Tritanopia (blue-blind)
#FA83A2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f07ddb;
/* rgb */ color: rgb(240, 125, 219);
/* oklch */ color: oklch(74.9% 0.179 334.5);
Tailwind
colors: {
  custom: {
    50: '#f7a6e6',
    500: '#f07ddb',
    950: '#000000',
  },
}
SCSS
$custom: #f07ddb;
$custom-light: #f7a6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ddb",
  "rgb": {
    "r": 240,
    "g": 125,
    "b": 219
  },
  "hsl": {
    "h": 310.957,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74916,
    "c": 0.1794,
    "h": 334.5
  },
  "luminance": 0.38307
}

Semantic roles & 50–950 ramp

primary
#F07DDB
secondary
#D6F3DB
accent
#DC300A
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F07DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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