#F277DC#F277DC

#F277DC is a light, vivid pink. Relative luminance 0.372; OKLCH L 74.4% C 0.191 H 334.6°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#F277DC
RGBrgb(242, 119, 220)
HSLhsl(311, 83%, 71%)
HSVhsv(311, 51%, 95%)
CMYKcmyk(0%, 50.8%, 9.1%, 5.1%)
CIE-LABlab(67.46, 59.76, -30.29)
CIE-LCHlch(67.46, 67.00, 333.12°)
OKLaboklab(74.4% 0.1726 -0.0821)
OKLCHoklch(74.4% 0.191 334.6)
XYZxyz(56.1331, 37.2420, 71.9281)
Luminance0.3724 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F277DC #77F28D
analogous
#CA77F2 #F277DC #F2779E
triadic
#F277DC #DCF277 #77DCF2
tetradic
#F277DC #F2CA77 #77F28D #779EF2
square
#F277DC #F2CA77 #77F28D #779EF2
split-complementary
#F277DC #9EF277 #77F2CA
monochromatic
#DA15B7 #ED3FCE #F277DC #F7AFEA #FCE3F8

Accessibility & contrast

On white

2.49
#F277DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#F277DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F277DC
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F277DC#FFFFFF#000000##000000
##F277DC1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7699DF
Deuteranopia (green-blind)
#9AABD9
Tritanopia (blue-blind)
#FC7EA0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f277dc;
/* rgb */ color: rgb(242, 119, 220);
/* oklch */ color: oklch(74.4% 0.191 334.6);
Tailwind
colors: {
  custom: {
    50: '#f9a3e7',
    500: '#f277dc',
    950: '#000000',
  },
}
SCSS
$custom: #f277dc;
$custom-light: #f9a3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f277dc",
  "rgb": {
    "r": 242,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 310.732,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74396,
    "c": 0.19113,
    "h": 334.6
  },
  "luminance": 0.37238
}

Semantic roles & 50–950 ramp

primary
#F277DC
secondary
#D2F3D8
accent
#DF2D07
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F277DC

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

Preview Lab → · Contrast checker → · Palette generator →

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