#F279DB#F279DB

#F279DB is a light, vivid pink. Relative luminance 0.377; OKLCH L 74.6% C 0.187 H 335.0°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#F279DB
RGBrgb(242, 121, 219)
HSLhsl(311, 82%, 71%)
HSVhsv(311, 50%, 95%)
CMYKcmyk(0%, 50%, 9.5%, 5.1%)
CIE-LABlab(67.78, 58.66, -29.24)
CIE-LCHlch(67.78, 65.55, 333.50°)
OKLaboklab(74.62% 0.1696 -0.0792)
OKLCHoklch(74.62% 0.187 335)
XYZxyz(56.2416, 37.6703, 71.3129)
Luminance0.3767 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F279DB #79F290
analogous
#CC79F2 #F279DB #F2799E
triadic
#F279DB #DBF279 #79DBF2
tetradic
#F279DB #F2CC79 #79F290 #799EF2
square
#F279DB #F2CC79 #79F290 #799EF2
split-complementary
#F279DB #9EF279 #79F2CC
monochromatic
#DB15B6 #ED41CC #F279DB #F7B1EA #FCE3F8

Accessibility & contrast

On white

2.46
#F279DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#F279DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F279DB
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F279DB#FFFFFF#000000##000000
##F279DB1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#799ADE
Deuteranopia (green-blind)
#9BACD8
Tritanopia (blue-blind)
#FC7FA0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f279db;
/* rgb */ color: rgb(242, 121, 219);
/* oklch */ color: oklch(74.6% 0.187 335.0);
Tailwind
colors: {
  custom: {
    50: '#f9a4e6',
    500: '#f279db',
    950: '#000000',
  },
}
SCSS
$custom: #f279db;
$custom-light: #f9a4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f279db",
  "rgb": {
    "r": 242,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 311.405,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74619,
    "c": 0.1872,
    "h": 335
  },
  "luminance": 0.37666
}

Semantic roles & 50–950 ramp

primary
#F279DB
secondary
#D3F3DA
accent
#DF3007
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F279DB

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

Preview Lab → · Contrast checker → · Palette generator →

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