#F07DB2#F07DB2

#F07DB2 is a light, vivid pink. Relative luminance 0.364; OKLCH L 73.4% C 0.152 H 352.5°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#F07DB2
RGBrgb(240, 125, 178)
HSLhsl(332, 79%, 72%)
HSVhsv(332, 48%, 94%)
CMYKcmyk(0%, 47.9%, 25.8%, 5.9%)
CIE-LABlab(66.83, 50.07, -7.73)
CIE-LCHlch(66.83, 50.67, 351.23°)
OKLaboklab(73.39% 0.151 -0.0198)
OKLCHoklch(73.39% 0.152 352.5)
XYZxyz(51.3063, 36.4111, 46.4367)
Luminance0.3641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07DB2 #7DF0BB
analogous
#F07DEB #F07DB2 #F0827D
triadic
#F07DB2 #B2F07D #7DB2F0
tetradic
#F07DB2 #EBF07D #7DF0BB #827DF0
square
#F07DB2 #EBF07D #7DF0BB #827DF0
split-complementary
#F07DB2 #7DF082 #7DEBF0
monochromatic
#DA1972 #EA4692 #F07DB2 #F6B4D3 #FCE4EF

Accessibility & contrast

On white

2.54
#F07DB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#F07DB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07DB2
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07DB2#FFFFFF#000000##000000
##F07DB21.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B96B4
Deuteranopia (green-blind)
#A9AAAF
Tritanopia (blue-blind)
#FF7891
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f07db2;
/* rgb */ color: rgb(240, 125, 178);
/* oklch */ color: oklch(73.4% 0.152 352.5);
Tailwind
colors: {
  custom: {
    50: '#f7a6c9',
    500: '#f07db2',
    950: '#000000',
  },
}
SCSS
$custom: #f07db2;
$custom-light: #f7a6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f07db2",
  "rgb": {
    "r": 240,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 332.348,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73391,
    "c": 0.15234,
    "h": 352.5
  },
  "luminance": 0.36407
}

Semantic roles & 50–950 ramp

primary
#F07DB2
secondary
#D6F3E6
accent
#DC7B0A
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#181013
muted
#867F82

Preview Lab

Preview with #F07DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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