#F081A2#F081A2

#F081A2 is a light, vivid pink. Relative luminance 0.368; OKLCH L 73.5% C 0.140 H 2.1°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#F081A2
RGBrgb(240, 129, 162)
HSLhsl(342, 79%, 72%)
HSVhsv(342, 46%, 94%)
CMYKcmyk(0%, 46.3%, 32.5%, 5.9%)
CIE-LABlab(67.16, 46.03, 1.78)
CIE-LCHlch(67.16, 46.06, 2.21°)
OKLaboklab(73.48% 0.1397 0.0052)
OKLCHoklch(73.48% 0.14 2.1)
XYZxyz(50.3092, 36.8388, 38.6364)
Luminance0.3683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F081A2 #81F0CF
analogous
#F081DA #F081A2 #F09881
triadic
#F081A2 #A2F081 #81A2F0
tetradic
#F081A2 #DAF081 #81F0CF #9881F0
square
#F081A2 #DAF081 #81F0CF #9881F0
split-complementary
#F081A2 #81F098 #81DAF0
monochromatic
#DC1A54 #E94A7A #F081A2 #F7B8CA #FCE4EB

Accessibility & contrast

On white

2.51
#F081A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#F081A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F081A2
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F081A2#FFFFFF#000000##000000
##F081A21.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9397A3
Deuteranopia (green-blind)
#AFABA0
Tritanopia (blue-blind)
#FF788D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f081a2;
/* rgb */ color: rgb(240, 129, 162);
/* oklch */ color: oklch(73.5% 0.140 2.1);
Tailwind
colors: {
  custom: {
    50: '#f8a8bd',
    500: '#f081a2',
    950: '#000000',
  },
}
SCSS
$custom: #f081a2;
$custom-light: #f8a8bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f081a2",
  "rgb": {
    "r": 240,
    "g": 129,
    "b": 162
  },
  "hsl": {
    "h": 342.162,
    "s": 78.723,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73484,
    "c": 0.13976,
    "h": 2.1
  },
  "luminance": 0.36834
}

Semantic roles & 50–950 ramp

primary
#F081A2
secondary
#D7F4EB
accent
#DB9D0A
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #F081A2

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

Preview Lab → · Contrast checker → · Palette generator →

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