#F24878#F24878

#F24878 is a light, highly saturated pink. Relative luminance 0.249; OKLCH L 65.6% C 0.207 H 8.2°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#F24878
RGBrgb(242, 72, 120)
HSLhsl(343, 87%, 62%)
HSVhsv(343, 70%, 95%)
CMYKcmyk(0%, 70.2%, 50.4%, 5.1%)
CIE-LABlab(56.95, 67.38, 11.45)
CIE-LCHlch(56.95, 68.35, 9.65°)
OKLaboklab(65.55% 0.205 0.0295)
OKLCHoklch(65.55% 0.207 8.2)
XYZxyz(42.3292, 24.8737, 20.3378)
Luminance0.2487 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F24878 #48F2C2
analogous
#F248CD #F24878 #F26D48
triadic
#F24878 #78F248 #4878F2
tetradic
#F24878 #CDF248 #48F2C2 #6D48F2
square
#F24878 #CDF248 #48F2C2 #6D48F2
split-complementary
#F24878 #48F26D #48CDF2
monochromatic
#B30D3C #EC114F #F24878 #F681A2 #FABACC

Accessibility & contrast

On white

3.52
#F24878 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#F24878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F24878
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F24878#FFFFFF#000000##000000
##F248781.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#717379
Deuteranopia (green-blind)
#9D9574
Tritanopia (blue-blind)
#FF255C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #f24878;
/* rgb */ color: rgb(242, 72, 120);
/* oklch */ color: oklch(65.6% 0.207 8.2);
Tailwind
colors: {
  custom: {
    50: '#fd879e',
    500: '#f24878',
    950: '#000000',
  },
}
SCSS
$custom: #f24878;
$custom-light: #fd879e;
$custom-dark: #000000;
JSON
{
  "hex": "#f24878",
  "rgb": {
    "r": 242,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 343.059,
    "s": 86.735,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65553,
    "c": 0.20714,
    "h": 8.2
  },
  "luminance": 0.24868
}

Semantic roles & 50–950 ramp

primary
#F24878
secondary
#ABEBD9
accent
#E3A402
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#190C0E
muted
#877D7E

Preview Lab

Preview with #F24878

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

Preview Lab → · Contrast checker → · Palette generator →

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