#F074B2#F074B2

#F074B2 is a light, vivid pink. Relative luminance 0.342; OKLCH L 72.1% C 0.166 H 350.8°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#F074B2
RGBrgb(240, 116, 178)
HSLhsl(330, 81%, 70%)
HSVhsv(330, 52%, 94%)
CMYKcmyk(0%, 51.7%, 25.8%, 5.9%)
CIE-LABlab(65.15, 54.44, -10.24)
CIE-LCHlch(65.15, 55.39, 349.35°)
OKLaboklab(72.13% 0.1643 -0.0265)
OKLCHoklch(72.13% 0.166 350.8)
XYZxyz(50.2182, 34.2348, 46.0740)
Luminance0.3423 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F074B2 #74F0B2
analogous
#F074F0 #F074B2 #F07474
triadic
#F074B2 #B2F074 #74B2F0
tetradic
#F074B2 #F0F074 #74F0B2 #7474F0
square
#F074B2 #F0F074 #74F0B2 #7474F0
split-complementary
#F074B2 #74F074 #74F0F0
monochromatic
#D31775 #EA3D93 #F074B2 #F6ABD1 #FCE2EF

Accessibility & contrast

On white

2.68
#F074B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#F074B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F074B2
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F074B2#FFFFFF#000000##000000
##F074B21.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8391B4
Deuteranopia (green-blind)
#A4A6AF
Tritanopia (blue-blind)
#FF6F8B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f074b2;
/* rgb */ color: rgb(240, 116, 178);
/* oklch */ color: oklch(72.1% 0.166 350.8);
Tailwind
colors: {
  custom: {
    50: '#f8a0c9',
    500: '#f074b2',
    950: '#000000',
  },
}
SCSS
$custom: #f074b2;
$custom-light: #f8a0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f074b2",
  "rgb": {
    "r": 240,
    "g": 116,
    "b": 178
  },
  "hsl": {
    "h": 330,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72128,
    "c": 0.16642,
    "h": 350.8
  },
  "luminance": 0.3423
}

Semantic roles & 50–950 ramp

primary
#F074B2
secondary
#CEF1E0
accent
#DD7309
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#180F13
muted
#867F82

Preview Lab

Preview with #F074B2

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

Preview Lab → · Contrast checker → · Palette generator →

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