#F05798#F05798

#F05798 is a light, vivid pink. Relative luminance 0.276; OKLCH L 67.7% C 0.196 H 357.4°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#F05798
RGBrgb(240, 87, 152)
HSLhsl(335, 84%, 64%)
HSVhsv(335, 64%, 94%)
CMYKcmyk(0%, 63.7%, 36.7%, 5.9%)
CIE-LABlab(59.54, 64.14, -3.64)
CIE-LCHlch(59.54, 64.24, 356.75°)
OKLaboklab(67.69% 0.1961 -0.0088)
OKLCHoklch(67.69% 0.196 357.4)
XYZxyz(45.0136, 27.6138, 32.6592)
Luminance0.2761 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F05798 #57F0AF
analogous
#F057E5 #F05798 #F06357
triadic
#F05798 #98F057 #5798F0
tetradic
#F05798 #E5F057 #57F0AF #6357F0
square
#F05798 #E5F057 #57F0AF #6357F0
split-complementary
#F05798 #57F063 #57E5F0
monochromatic
#BC1159 #EB1F76 #F05798 #F58FBA #FAC7DD

Accessibility & contrast

On white

3.22
#F05798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#F05798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F05798
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F05798#FFFFFF#000000##000000
##F057981.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#727D9A
Deuteranopia (green-blind)
#9C9A94
Tritanopia (blue-blind)
#FF4971
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #f05798;
/* rgb */ color: rgb(240, 87, 152);
/* oklch */ color: oklch(67.7% 0.196 357.4);
Tailwind
colors: {
  custom: {
    50: '#fa8fb6',
    500: '#f05798',
    950: '#000000',
  },
}
SCSS
$custom: #f05798;
$custom-light: #fa8fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#f05798",
  "rgb": {
    "r": 240,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 334.51,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67687,
    "c": 0.19631,
    "h": 357.4
  },
  "luminance": 0.27609
}

Semantic roles & 50–950 ramp

primary
#F05798
secondary
#B7ECD5
accent
#E08305
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #F05798

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

Preview Lab → · Contrast checker → · Palette generator →

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