#F07DAB#F07DAB

#F07DAB is a light, vivid pink. Relative luminance 0.361; OKLCH L 73.2% C 0.149 H 356.1°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#F07DAB
RGBrgb(240, 125, 171)
HSLhsl(336, 79%, 72%)
HSVhsv(336, 48%, 94%)
CMYKcmyk(0%, 47.9%, 28.8%, 5.9%)
CIE-LABlab(66.62, 49.15, -4.08)
CIE-LCHlch(66.62, 49.32, 355.25°)
OKLaboklab(73.17% 0.1488 -0.0101)
OKLCHoklch(73.17% 0.149 356.1)
XYZxyz(50.6214, 36.1371, 42.8293)
Luminance0.3613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07DAB #7DF0C2
analogous
#F07DE5 #F07DAB #F0897D
triadic
#F07DAB #ABF07D #7DABF0
tetradic
#F07DAB #E5F07D #7DF0C2 #897DF0
square
#F07DAB #E5F07D #7DF0C2 #897DF0
split-complementary
#F07DAB #7DF089 #7DE5F0
monochromatic
#DA1966 #EA4688 #F07DAB #F6B4CE #FCE4ED

Accessibility & contrast

On white

2.55
#F07DAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#F07DAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07DAB
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07DAB#FFFFFF#000000##000000
##F07DAB1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D95AC
Deuteranopia (green-blind)
#AAAAA8
Tritanopia (blue-blind)
#FF768E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f07dab;
/* rgb */ color: rgb(240, 125, 171);
/* oklch */ color: oklch(73.2% 0.149 356.1);
Tailwind
colors: {
  custom: {
    50: '#f8a5c4',
    500: '#f07dab',
    950: '#000000',
  },
}
SCSS
$custom: #f07dab;
$custom-light: #f8a5c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f07dab",
  "rgb": {
    "r": 240,
    "g": 125,
    "b": 171
  },
  "hsl": {
    "h": 336,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73166,
    "c": 0.14914,
    "h": 356.1
  },
  "luminance": 0.36133
}

Semantic roles & 50–950 ramp

primary
#F07DAB
secondary
#D6F3E7
accent
#DC880A
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#181012
muted
#867F81

Preview Lab

Preview with #F07DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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