#F28CA5#F28CA5

#F28CA5 is a light, vivid red. Relative luminance 0.404; OKLCH L 75.5% C 0.126 H 4.8°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#F28CA5
RGBrgb(242, 140, 165)
HSLhsl(345, 80%, 75%)
HSVhsv(345, 42%, 95%)
CMYKcmyk(0%, 42.1%, 31.8%, 5.1%)
CIE-LABlab(69.72, 41.51, 3.84)
CIE-LCHlch(69.72, 41.69, 5.29°)
OKLaboklab(75.51% 0.1259 0.0106)
OKLCHoklch(75.51% 0.126 4.8)
XYZxyz(52.7896, 40.3543, 40.5989)
Luminance0.4035 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28CA5 #8CF2D9
analogous
#F28CD8 #F28CA5 #F2A68C
triadic
#F28CA5 #A5F28C #8CA5F2
tetradic
#F28CA5 #D8F28C #8CF2D9 #A68CF2
square
#F28CA5 #D8F28C #8CF2D9 #A68CF2
split-complementary
#F28CA5 #8CF2A6 #8CD8F2
monochromatic
#E61E4F #EC557A #F28CA5 #F8C3D0 #FCE4E9

Accessibility & contrast

On white

2.32
#F28CA5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#F28CA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28CA5
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28CA5#FFFFFF#000000##000000
##F28CA51.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C9FA6
Deuteranopia (green-blind)
#B6B2A3
Tritanopia (blue-blind)
#FF8495
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f28ca5;
/* rgb */ color: rgb(242, 140, 165);
/* oklch */ color: oklch(75.5% 0.126 4.8);
Tailwind
colors: {
  custom: {
    50: '#f9afbf',
    500: '#f28ca5',
    950: '#000000',
  },
}
SCSS
$custom: #f28ca5;
$custom-light: #f9afbf;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ca5",
  "rgb": {
    "r": 242,
    "g": 140,
    "b": 165
  },
  "hsl": {
    "h": 345.294,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.75509,
    "c": 0.12629,
    "h": 4.8
  },
  "luminance": 0.4035
}

Semantic roles & 50–950 ramp

primary
#F28CA5
secondary
#D7F4ED
accent
#DCA80A
background
#FFFAFB
surface
#FFF5F7
border
#D7CFD0
text
#181012
muted
#867F81

Preview Lab

Preview with #F28CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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