#F28FA2#F28FA2

#F28FA2 is a light, vivid red. Relative luminance 0.411; OKLCH L 75.9% C 0.121 H 8.0°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#F28FA2
RGBrgb(242, 143, 162)
HSLhsl(348, 79%, 75%)
HSVhsv(348, 41%, 95%)
CMYKcmyk(0%, 40.9%, 33.1%, 5.1%)
CIE-LABlab(70.27, 39.60, 6.31)
CIE-LCHlch(70.27, 40.09, 9.06°)
OKLaboklab(75.9% 0.1201 0.0169)
OKLCHoklch(75.9% 0.121 8)
XYZxyz(52.9641, 41.1351, 39.3258)
Luminance0.4113 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28FA2 #8FF2DF
analogous
#F28FD3 #F28FA2 #F2AD8F
triadic
#F28FA2 #A2F28F #8FA2F2
tetradic
#F28FA2 #D3F28F #8FF2DF #AD8FF2
square
#F28FA2 #D3F28F #8FF2DF #AD8FF2
split-complementary
#F28FA2 #8FF2AD #8FD3F2
monochromatic
#E52147 #EC5874 #F28FA2 #F8C6D0 #FCE4E8

Accessibility & contrast

On white

2.28
#F28FA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#F28FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28FA2
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28FA2#FFFFFF#000000##000000
##F28FA21.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0A0A2
Deuteranopia (green-blind)
#B8B3A0
Tritanopia (blue-blind)
#FF8696
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f28fa2;
/* rgb */ color: rgb(242, 143, 162);
/* oklch */ color: oklch(75.9% 0.121 8.0);
Tailwind
colors: {
  custom: {
    50: '#f9b1bd',
    500: '#f28fa2',
    950: '#000000',
  },
}
SCSS
$custom: #f28fa2;
$custom-light: #f9b1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f28fa2",
  "rgb": {
    "r": 242,
    "g": 143,
    "b": 162
  },
  "hsl": {
    "h": 348.485,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75901,
    "c": 0.12125,
    "h": 8
  },
  "luminance": 0.41131
}

Semantic roles & 50–950 ramp

primary
#F28FA2
secondary
#D7F4EE
accent
#DBB30A
background
#FFFBFB
surface
#FFF6F6
border
#D7D0D0
text
#181112
muted
#868081

Preview Lab

Preview with #F28FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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