#F074CB#F074CB

#F074CB is a light, vivid pink. Relative luminance 0.353; OKLCH L 73.0% C 0.182 H 340.1°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#F074CB
RGBrgb(240, 116, 203)
HSLhsl(318, 81%, 70%)
HSVhsv(318, 52%, 94%)
CMYKcmyk(0%, 51.7%, 15.4%, 5.9%)
CIE-LABlab(66.01, 57.97, -23.05)
CIE-LCHlch(66.01, 62.38, 338.32°)
OKLaboklab(73.05% 0.171 -0.0617)
OKLCHoklch(73.05% 0.182 340.1)
XYZxyz(52.9608, 35.3319, 60.5187)
Luminance0.3533 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F074CB #74F099
analogous
#D774F0 #F074CB #F0748D
triadic
#F074CB #CBF074 #74CBF0
tetradic
#F074CB #F0D774 #74F099 #748DF0
square
#F074CB #F0D774 #74F099 #748DF0
split-complementary
#F074CB #8DF074 #74F0D7
monochromatic
#D3179B #EA3DB6 #F074CB #F6ABE0 #FCE2F4

Accessibility & contrast

On white

2.60
#F074CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#F074CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F074CB
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F074CB#FFFFFF#000000##000000
##F074CB1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A94CE
Deuteranopia (green-blind)
#9CA8C8
Tritanopia (blue-blind)
#FC7696
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f074cb;
/* rgb */ color: rgb(240, 116, 203);
/* oklch */ color: oklch(73.0% 0.182 340.1);
Tailwind
colors: {
  custom: {
    50: '#f7a0db',
    500: '#f074cb',
    950: '#000000',
  },
}
SCSS
$custom: #f074cb;
$custom-light: #f7a0db;
$custom-dark: #000000;
JSON
{
  "hex": "#f074cb",
  "rgb": {
    "r": 240,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 317.903,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73049,
    "c": 0.18176,
    "h": 340.1
  },
  "luminance": 0.35328
}

Semantic roles & 50–950 ramp

primary
#F074CB
secondary
#CEF1D9
accent
#DD4809
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F074CB

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

Preview Lab → · Contrast checker → · Palette generator →

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