#F0628A#F0628A

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

Color values

HEX#F0628A
RGBrgb(240, 98, 138)
HSLhsl(343, 83%, 66%)
HSVhsv(343, 59%, 94%)
CMYKcmyk(0%, 59.2%, 42.5%, 5.9%)
CIE-LABlab(60.87, 58.05, 6.43)
CIE-LCHlch(60.87, 58.41, 6.32°)
OKLaboklab(68.55% 0.1768 0.0172)
OKLCHoklch(68.55% 0.178 5.6)
XYZxyz(44.8933, 29.1007, 27.2927)
Luminance0.2910 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0628A #62F0C8
analogous
#F062D1 #F0628A #F08162
triadic
#F0628A #8AF062 #628AF0
tetradic
#F0628A #D1F062 #62F0C8 #8162F0
square
#F0628A #D1F062 #62F0C8 #8162F0
split-complementary
#F0628A #62F081 #62D1F0
monochromatic
#C51345 #EB2A60 #F0628A #F59AB4 #FBD2DD

Accessibility & contrast

On white

3.08
#F0628A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#F0628A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F0628A
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0628A#FFFFFF#000000##000000
##F0628A1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E818B
Deuteranopia (green-blind)
#A39D87
Tritanopia (blue-blind)
#FF5171
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #f0628a;
/* rgb */ color: rgb(240, 98, 138);
/* oklch */ color: oklch(68.6% 0.178 5.6);
Tailwind
colors: {
  custom: {
    50: '#fa95ac',
    500: '#f0628a',
    950: '#000000',
  },
}
SCSS
$custom: #f0628a;
$custom-light: #fa95ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f0628a",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 138
  },
  "hsl": {
    "h": 343.099,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68552,
    "c": 0.17765,
    "h": 5.6
  },
  "luminance": 0.29096
}

Semantic roles & 50–950 ramp

primary
#F0628A
secondary
#C0EEE1
accent
#DFA207
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180E10
muted
#867E7F

Preview Lab

Preview with #F0628A

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

Preview Lab → · Contrast checker → · Palette generator →

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