#F279DD#F279DD

#F279DD is a light, vivid pink. Relative luminance 0.378; OKLCH L 74.7% C 0.189 H 334.3°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#F279DD
RGBrgb(242, 121, 221)
HSLhsl(310, 82%, 71%)
HSVhsv(310, 50%, 95%)
CMYKcmyk(0%, 50%, 8.7%, 5.1%)
CIE-LABlab(67.86, 58.98, -30.23)
CIE-LCHlch(67.86, 66.28, 332.86°)
OKLaboklab(74.7% 0.17 -0.082)
OKLCHoklch(74.7% 0.189 334.3)
XYZxyz(56.5065, 37.7762, 72.7079)
Luminance0.3777 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F279DD #79F28E
analogous
#CA79F2 #F279DD #F279A0
triadic
#F279DD #DDF279 #79DDF2
tetradic
#F279DD #F2CA79 #79F28E #79A0F2
square
#F279DD #F2CA79 #79F28E #79A0F2
split-complementary
#F279DD #A0F279 #79F2CA
monochromatic
#DB15B9 #ED41CF #F279DD #F7B1EB #FCE3F8

Accessibility & contrast

On white

2.45
#F279DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#F279DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F279DD
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F279DD#FFFFFF#000000##000000
##F279DD1.002.458.558.55
#FFFFFF2.451.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#789AE0
Deuteranopia (green-blind)
#9BACDA
Tritanopia (blue-blind)
#FC80A1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f279dd;
/* rgb */ color: rgb(242, 121, 221);
/* oklch */ color: oklch(74.7% 0.189 334.3);
Tailwind
colors: {
  custom: {
    50: '#f9a4e7',
    500: '#f279dd',
    950: '#000000',
  },
}
SCSS
$custom: #f279dd;
$custom-light: #f9a4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f279dd",
  "rgb": {
    "r": 242,
    "g": 121,
    "b": 221
  },
  "hsl": {
    "h": 310.413,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74703,
    "c": 0.18876,
    "h": 334.3
  },
  "luminance": 0.37772
}

Semantic roles & 50–950 ramp

primary
#F279DD
secondary
#D3F3D9
accent
#DF2C07
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F279DD

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

Preview Lab → · Contrast checker → · Palette generator →

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