#F04C8B#F04C8B

#F04C8B is a light, highly saturated pink. Relative luminance 0.256; OKLCH L 66.1% C 0.205 H 1.0°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#F04C8B
RGBrgb(240, 76, 139)
HSLhsl(337, 85%, 62%)
HSVhsv(337, 68%, 94%)
CMYKcmyk(0%, 68.3%, 42.1%, 5.9%)
CIE-LABlab(57.62, 67.05, 1.16)
CIE-LCHlch(57.62, 67.06, 0.99°)
OKLaboklab(66.15% 0.2053 0.0038)
OKLCHoklch(66.15% 0.205 1)
XYZxyz(43.1830, 25.5636, 27.0813)
Luminance0.2556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04C8B #4CF0B1
analogous
#F04CDD #F04C8B #F05F4C
triadic
#F04C8B #8BF04C #4C8BF0
tetradic
#F04C8B #DDF04C #4CF0B1 #5F4CF0
square
#F04C8B #DDF04C #4CF0B1 #5F4CF0
split-complementary
#F04C8B #4CF05F #4CDDF0
monochromatic
#B30F4E #EB1466 #F04C8B #F584B0 #F9BDD4

Accessibility & contrast

On white

3.44
#F04C8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#F04C8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04C8B
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04C8B#FFFFFF#000000##000000
##F04C8B1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E768D
Deuteranopia (green-blind)
#9A9687
Tritanopia (blue-blind)
#FF3666
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #f04c8b;
/* rgb */ color: rgb(240, 76, 139);
/* oklch */ color: oklch(66.1% 0.205 1.0);
Tailwind
colors: {
  custom: {
    50: '#fa89ac',
    500: '#f04c8b',
    950: '#000000',
  },
}
SCSS
$custom: #f04c8b;
$custom-light: #fa89ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f04c8b",
  "rgb": {
    "r": 240,
    "g": 76,
    "b": 139
  },
  "hsl": {
    "h": 336.951,
    "s": 84.536,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66145,
    "c": 0.20537,
    "h": 1
  },
  "luminance": 0.25558
}

Semantic roles & 50–950 ramp

primary
#F04C8B
secondary
#AEEAD3
accent
#E18C04
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180C10
muted
#867D7F

Preview Lab

Preview with #F04C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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