#F074A2#F074A2

#F074A2 is a light, vivid pink. Relative luminance 0.336; OKLCH L 71.6% C 0.159 H 358.5°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#F074A2
RGBrgb(240, 116, 162)
HSLhsl(338, 81%, 70%)
HSVhsv(338, 52%, 94%)
CMYKcmyk(0%, 51.7%, 32.5%, 5.9%)
CIE-LABlab(64.67, 52.41, -1.86)
CIE-LCHlch(64.67, 52.44, 357.97°)
OKLaboklab(71.61% 0.1592 -0.0042)
OKLCHoklch(71.61% 0.159 358.5)
XYZxyz(48.7044, 33.6293, 38.1015)
Luminance0.3362 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F074A2 #74F0C2
analogous
#F074E0 #F074A2 #F08474
triadic
#F074A2 #A2F074 #74A2F0
tetradic
#F074A2 #E0F074 #74F0C2 #8474F0
square
#F074A2 #E0F074 #74F0C2 #8474F0
split-complementary
#F074A2 #74F084 #74E0F0
monochromatic
#D3175D #EA3D7D #F074A2 #F6ABC7 #FCE2EC

Accessibility & contrast

On white

2.72
#F074A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#F074A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F074A2
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F074A2#FFFFFF#000000##000000
##F074A21.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#878FA3
Deuteranopia (green-blind)
#A7A59F
Tritanopia (blue-blind)
#FF6B85
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f074a2;
/* rgb */ color: rgb(240, 116, 162);
/* oklch */ color: oklch(71.6% 0.159 358.5);
Tailwind
colors: {
  custom: {
    50: '#f8a0bd',
    500: '#f074a2',
    950: '#000000',
  },
}
SCSS
$custom: #f074a2;
$custom-light: #f8a0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f074a2",
  "rgb": {
    "r": 240,
    "g": 116,
    "b": 162
  },
  "hsl": {
    "h": 337.742,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71609,
    "c": 0.1593,
    "h": 358.5
  },
  "luminance": 0.33625
}

Semantic roles & 50–950 ramp

primary
#F074A2
secondary
#CEF1E4
accent
#DD8E09
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F074A2

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

Preview Lab → · Contrast checker → · Palette generator →

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