#F26798#F26798

#F26798 is a light, vivid pink. Relative luminance 0.308; OKLCH L 69.9% C 0.177 H 0.7°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#F26798
RGBrgb(242, 103, 152)
HSLhsl(339, 84%, 68%)
HSVhsv(339, 57%, 95%)
CMYKcmyk(0%, 57.4%, 37.2%, 5.1%)
CIE-LABlab(62.38, 57.93, 0.56)
CIE-LCHlch(62.38, 57.93, 0.56°)
OKLaboklab(69.86% 0.1766 0.0022)
OKLCHoklch(69.86% 0.177 0.7)
XYZxyz(47.1384, 30.8498, 33.1718)
Luminance0.3085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F26798 #67F2C1
analogous
#F267DD #F26798 #F27C67
triadic
#F26798 #98F267 #6798F2
tetradic
#F26798 #DDF267 #67F2C1 #7C67F2
square
#F26798 #DDF267 #67F2C1 #7C67F2
split-complementary
#F26798 #67F27C #67DDF2
monochromatic
#CD1254 #ED2F72 #F26798 #F79FBE #FCD8E4

Accessibility & contrast

On white

2.93
#F26798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#F26798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F26798
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F26798#FFFFFF#000000##000000
##F267981.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8699
Deuteranopia (green-blind)
#A4A195
Tritanopia (blue-blind)
#FF5A7A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f26798;
/* rgb */ color: rgb(242, 103, 152);
/* oklch */ color: oklch(69.9% 0.177 0.7);
Tailwind
colors: {
  custom: {
    50: '#fa98b6',
    500: '#f26798',
    950: '#000000',
  },
}
SCSS
$custom: #f26798;
$custom-light: #fa98b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f26798",
  "rgb": {
    "r": 242,
    "g": 103,
    "b": 152
  },
  "hsl": {
    "h": 338.849,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69862,
    "c": 0.17663,
    "h": 0.7
  },
  "luminance": 0.30845
}

Semantic roles & 50–950 ramp

primary
#F26798
secondary
#C5F0E1
accent
#E19305
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180E11
muted
#867E80

Preview Lab

Preview with #F26798

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

Preview Lab → · Contrast checker → · Palette generator →

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