#F28CA7#F28CA7

#F28CA7 is a light, vivid pink. Relative luminance 0.404; OKLCH L 75.6% C 0.127 H 3.6°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#F28CA7
RGBrgb(242, 140, 167)
HSLhsl(344, 80%, 75%)
HSVhsv(344, 42%, 95%)
CMYKcmyk(0%, 42.1%, 31%, 5.1%)
CIE-LABlab(69.77, 41.76, 2.80)
CIE-LCHlch(69.77, 41.86, 3.84°)
OKLaboklab(75.57% 0.1266 0.0079)
OKLCHoklch(75.57% 0.127 3.6)
XYZxyz(52.9731, 40.4277, 41.5651)
Luminance0.4042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28CA7 #8CF2D7
analogous
#F28CDA #F28CA7 #F2A48C
triadic
#F28CA7 #A7F28C #8CA7F2
tetradic
#F28CA7 #DAF28C #8CF2D7 #A48CF2
square
#F28CA7 #DAF28C #8CF2D7 #A48CF2
split-complementary
#F28CA7 #8CF2A4 #8CDAF2
monochromatic
#E61E53 #EC557D #F28CA7 #F8C3D1 #FCE4EA

Accessibility & contrast

On white

2.31
#F28CA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#F28CA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28CA7
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28CA7#FFFFFF#000000##000000
##F28CA71.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C9FA8
Deuteranopia (green-blind)
#B5B2A5
Tritanopia (blue-blind)
#FF8496
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f28ca7;
/* rgb */ color: rgb(242, 140, 167);
/* oklch */ color: oklch(75.6% 0.127 3.6);
Tailwind
colors: {
  custom: {
    50: '#f9afc1',
    500: '#f28ca7',
    950: '#000000',
  },
}
SCSS
$custom: #f28ca7;
$custom-light: #f9afc1;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ca7",
  "rgb": {
    "r": 242,
    "g": 140,
    "b": 167
  },
  "hsl": {
    "h": 344.118,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.75565,
    "c": 0.12681,
    "h": 3.6
  },
  "luminance": 0.40423
}

Semantic roles & 50–950 ramp

primary
#F28CA7
secondary
#D7F4EC
accent
#DCA40A
background
#FFFAFB
surface
#FFF5F7
border
#D7CFD0
text
#181012
muted
#867F81

Preview Lab

Preview with #F28CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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