#F074D2#F074D2

#F074D2 is a light, vivid pink. Relative luminance 0.357; OKLCH L 73.3% C 0.187 H 337.5°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#F074D2
RGBrgb(240, 116, 210)
HSLhsl(315, 81%, 70%)
HSVhsv(315, 52%, 94%)
CMYKcmyk(0%, 51.7%, 12.5%, 5.9%)
CIE-LABlab(66.27, 59.03, -26.57)
CIE-LCHlch(66.27, 64.73, 335.77°)
OKLaboklab(73.33% 0.1725 -0.0716)
OKLCHoklch(73.33% 0.187 337.5)
XYZxyz(53.8139, 35.6731, 65.0115)
Luminance0.3567 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F074D2 #74F092
analogous
#D074F0 #F074D2 #F07494
triadic
#F074D2 #D2F074 #74D2F0
tetradic
#F074D2 #F0D074 #74F092 #7494F0
square
#F074D2 #F0D074 #74F092 #7494F0
split-complementary
#F074D2 #94F074 #74F0D0
monochromatic
#D317A5 #EA3DC0 #F074D2 #F6ABE4 #FCE2F6

Accessibility & contrast

On white

2.58
#F074D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#F074D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F074D2
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F074D2#FFFFFF#000000##000000
##F074D21.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7795D5
Deuteranopia (green-blind)
#9AA8CF
Tritanopia (blue-blind)
#FB7899
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f074d2;
/* rgb */ color: rgb(240, 116, 210);
/* oklch */ color: oklch(73.3% 0.187 337.5);
Tailwind
colors: {
  custom: {
    50: '#f7a0e0',
    500: '#f074d2',
    950: '#000000',
  },
}
SCSS
$custom: #f074d2;
$custom-light: #f7a0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#f074d2",
  "rgb": {
    "r": 240,
    "g": 116,
    "b": 210
  },
  "hsl": {
    "h": 314.516,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73331,
    "c": 0.18679,
    "h": 337.5
  },
  "luminance": 0.35669
}

Semantic roles & 50–950 ramp

primary
#F074D2
secondary
#CEF1D7
accent
#DD3C09
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F074D2

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

Preview Lab → · Contrast checker → · Palette generator →

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