#F28DA7#F28DA7

#F28DA7 is a light, vivid pink. Relative luminance 0.407; OKLCH L 75.7% C 0.125 H 3.9°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#F28DA7
RGBrgb(242, 141, 167)
HSLhsl(345, 80%, 75%)
HSVhsv(345, 42%, 95%)
CMYKcmyk(0%, 41.7%, 31%, 5.1%)
CIE-LABlab(69.98, 41.25, 3.10)
CIE-LCHlch(69.98, 41.37, 4.30°)
OKLaboklab(75.72% 0.125 0.0086)
OKLCHoklch(75.72% 0.125 3.9)
XYZxyz(53.1198, 40.7213, 41.6140)
Luminance0.4072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28DA7 #8DF2D8
analogous
#F28DDA #F28DA7 #F2A58D
triadic
#F28DA7 #A7F28D #8DA7F2
tetradic
#F28DA7 #DAF28D #8DF2D8 #A58DF2
square
#F28DA7 #DAF28D #8DF2D8 #A58DF2
split-complementary
#F28DA7 #8DF2A5 #8DDAF2
monochromatic
#E51F52 #EC567D #F28DA7 #F8C4D1 #FCE4EA

Accessibility & contrast

On white

2.30
#F28DA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#F28DA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28DA7
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28DA7#FFFFFF#000000##000000
##F28DA71.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DA0A8
Deuteranopia (green-blind)
#B6B2A5
Tritanopia (blue-blind)
#FF8596
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f28da7;
/* rgb */ color: rgb(242, 141, 167);
/* oklch */ color: oklch(75.7% 0.125 3.9);
Tailwind
colors: {
  custom: {
    50: '#f9b0c1',
    500: '#f28da7',
    950: '#000000',
  },
}
SCSS
$custom: #f28da7;
$custom-light: #f9b0c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f28da7",
  "rgb": {
    "r": 242,
    "g": 141,
    "b": 167
  },
  "hsl": {
    "h": 344.554,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.75722,
    "c": 0.12531,
    "h": 3.9
  },
  "luminance": 0.40717
}

Semantic roles & 50–950 ramp

primary
#F28DA7
secondary
#D7F4EC
accent
#DCA60A
background
#FFFAFB
surface
#FFF5F7
border
#D7CFD0
text
#181112
muted
#868081

Preview Lab

Preview with #F28DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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