#F0628C#F0628C

#F0628C is a light, vivid pink. Relative luminance 0.292; OKLCH L 68.6% C 0.178 H 4.7°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#F0628C
RGBrgb(240, 98, 140)
HSLhsl(342, 83%, 66%)
HSVhsv(342, 59%, 94%)
CMYKcmyk(0%, 59.2%, 41.7%, 5.9%)
CIE-LABlab(60.92, 58.25, 5.35)
CIE-LCHlch(60.92, 58.50, 5.24°)
OKLaboklab(68.61% 0.1775 0.0145)
OKLCHoklch(68.61% 0.178 4.7)
XYZxyz(45.0395, 29.1592, 28.0623)
Luminance0.2915 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0628C #62F0C6
analogous
#F062D3 #F0628C #F07F62
triadic
#F0628C #8CF062 #628CF0
tetradic
#F0628C #D3F062 #62F0C6 #7F62F0
square
#F0628C #D3F062 #62F0C6 #7F62F0
split-complementary
#F0628C #62F07F #62D3F0
monochromatic
#C51347 #EB2A63 #F0628C #F59AB5 #FBD2DE

Accessibility & contrast

On white

3.07
#F0628C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#F0628C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F0628C
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0628C#FFFFFF#000000##000000
##F0628C1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E828D
Deuteranopia (green-blind)
#A39D89
Tritanopia (blue-blind)
#FF5272
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #f0628c;
/* rgb */ color: rgb(240, 98, 140);
/* oklch */ color: oklch(68.6% 0.178 4.7);
Tailwind
colors: {
  custom: {
    50: '#fa95ad',
    500: '#f0628c',
    950: '#000000',
  },
}
SCSS
$custom: #f0628c;
$custom-light: #fa95ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f0628c",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 140
  },
  "hsl": {
    "h": 342.254,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68607,
    "c": 0.17812,
    "h": 4.7
  },
  "luminance": 0.29154
}

Semantic roles & 50–950 ramp

primary
#F0628C
secondary
#C0EEE0
accent
#DF9F07
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180E10
muted
#867E7F

Preview Lab

Preview with #F0628C

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

Preview Lab → · Contrast checker → · Palette generator →

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