#F04D9D#F04D9D

#F04D9D is a light, highly saturated pink. Relative luminance 0.263; OKLCH L 66.8% C 0.211 H 354.2°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#F04D9D
RGBrgb(240, 77, 157)
HSLhsl(331, 84%, 62%)
HSVhsv(331, 68%, 94%)
CMYKcmyk(0%, 67.9%, 34.6%, 5.9%)
CIE-LABlab(58.29, 68.53, -8.40)
CIE-LCHlch(58.29, 69.04, 353.01°)
OKLaboklab(66.82% 0.2097 -0.0213)
OKLCHoklch(66.82% 0.211 354.2)
XYZxyz(44.6775, 26.2725, 34.6101)
Luminance0.2627 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04D9D #4DF0A0
analogous
#F04DEF #F04D9D #F04F4D
triadic
#F04D9D #9DF04D #4D9DF0
tetradic
#F04D9D #EFF04D #4DF0A0 #4F4DF0
square
#F04D9D #EFF04D #4DF0A0 #4F4DF0
split-complementary
#F04D9D #4DF04F #4DEFF0
monochromatic
#B30F60 #EB157E #F04D9D #F585BC #FABEDB

Accessibility & contrast

On white

3.36
#F04D9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#F04D9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04D9D
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04D9D#FFFFFF#000000##000000
##F04D9D1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#69799F
Deuteranopia (green-blind)
#969799
Tritanopia (blue-blind)
#FF406F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #f04d9d;
/* rgb */ color: rgb(240, 77, 157);
/* oklch */ color: oklch(66.8% 0.211 354.2);
Tailwind
colors: {
  custom: {
    50: '#fa8ab9',
    500: '#f04d9d',
    950: '#000000',
  },
}
SCSS
$custom: #f04d9d;
$custom-light: #fa8ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#f04d9d",
  "rgb": {
    "r": 240,
    "g": 77,
    "b": 157
  },
  "hsl": {
    "h": 330.552,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6682,
    "c": 0.21078,
    "h": 354.2
  },
  "luminance": 0.26267
}

Semantic roles & 50–950 ramp

primary
#F04D9D
secondary
#AEEACD
accent
#E17505
background
#FFF8FB
surface
#FFF0F6
border
#D7CBD0
text
#180D11
muted
#867D80

Preview Lab

Preview with #F04D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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