#F277DA#F277DA

#F277DA is a light, vivid pink. Relative luminance 0.371; OKLCH L 74.3% C 0.190 H 335.3°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#F277DA
RGBrgb(242, 119, 218)
HSLhsl(312, 83%, 71%)
HSVhsv(312, 51%, 95%)
CMYKcmyk(0%, 50.8%, 9.9%, 5.1%)
CIE-LABlab(67.38, 59.45, -29.30)
CIE-LCHlch(67.38, 66.28, 333.76°)
OKLaboklab(74.31% 0.1722 -0.0793)
OKLCHoklch(74.31% 0.19 335.3)
XYZxyz(55.8698, 37.1367, 70.5415)
Luminance0.3713 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F277DA #77F28F
analogous
#CC77F2 #F277DA #F2779C
triadic
#F277DA #DAF277 #77DAF2
tetradic
#F277DA #F2CC77 #77F28F #779CF2
square
#F277DA #F2CC77 #77F28F #779CF2
split-complementary
#F277DA #9CF277 #77F2CC
monochromatic
#DA15B3 #ED3FCB #F277DA #F7AFE9 #FCE3F7

Accessibility & contrast

On white

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

On black

8.43
#F277DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F277DA
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F277DA#FFFFFF#000000##000000
##F277DA1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799DD
Deuteranopia (green-blind)
#9AABD7
Tritanopia (blue-blind)
#FC7D9F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f277da;
/* rgb */ color: rgb(242, 119, 218);
/* oklch */ color: oklch(74.3% 0.190 335.3);
Tailwind
colors: {
  custom: {
    50: '#f9a3e5',
    500: '#f277da',
    950: '#000000',
  },
}
SCSS
$custom: #f277da;
$custom-light: #f9a3e5;
$custom-dark: #000000;
JSON
{
  "hex": "#f277da",
  "rgb": {
    "r": 242,
    "g": 119,
    "b": 218
  },
  "hsl": {
    "h": 311.707,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74312,
    "c": 0.18958,
    "h": 335.3
  },
  "luminance": 0.37133
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F277DA

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

Preview Lab → · Contrast checker → · Palette generator →

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