#F28CA2#F28CA2

#F28CA2 is a light, vivid red. Relative luminance 0.402; OKLCH L 75.4% C 0.126 H 6.7°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#F28CA2
RGBrgb(242, 140, 162)
HSLhsl(347, 80%, 75%)
HSVhsv(347, 42%, 95%)
CMYKcmyk(0%, 42.1%, 33.1%, 5.1%)
CIE-LABlab(69.64, 41.14, 5.41)
CIE-LCHlch(69.64, 41.49, 7.49°)
OKLaboklab(75.43% 0.1248 0.0146)
OKLCHoklch(75.43% 0.126 6.7)
XYZxyz(52.5197, 40.2464, 39.1777)
Luminance0.4024 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28CA2 #8CF2DC
analogous
#F28CD5 #F28CA2 #F2A98C
triadic
#F28CA2 #A2F28C #8CA2F2
tetradic
#F28CA2 #D5F28C #8CF2DC #A98CF2
square
#F28CA2 #D5F28C #8CF2DC #A98CF2
split-complementary
#F28CA2 #8CF2A9 #8CD5F2
monochromatic
#E61E49 #EC5576 #F28CA2 #F8C3CE #FCE4E9

Accessibility & contrast

On white

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

On black

9.05
#F28CA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28CA2
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28CA2#FFFFFF#000000##000000
##F28CA21.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D9EA3
Deuteranopia (green-blind)
#B6B1A0
Tritanopia (blue-blind)
#FF8394
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f28ca2;
/* rgb */ color: rgb(242, 140, 162);
/* oklch */ color: oklch(75.4% 0.126 6.7);
Tailwind
colors: {
  custom: {
    50: '#f9afbd',
    500: '#f28ca2',
    950: '#000000',
  },
}
SCSS
$custom: #f28ca2;
$custom-light: #f9afbd;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ca2",
  "rgb": {
    "r": 242,
    "g": 140,
    "b": 162
  },
  "hsl": {
    "h": 347.059,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.75425,
    "c": 0.12562,
    "h": 6.7
  },
  "luminance": 0.40242
}

Semantic roles & 50–950 ramp

primary
#F28CA2
secondary
#D7F4EE
accent
#DCAF0A
background
#FFFAFB
surface
#FFF5F6
border
#D7CFD0
text
#181012
muted
#867F81

Preview Lab

Preview with #F28CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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