#F277DD#F277DD

#F277DD is a light, vivid pink. Relative luminance 0.373; OKLCH L 74.4% C 0.192 H 334.2°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#F277DD
RGBrgb(242, 119, 221)
HSLhsl(310, 83%, 71%)
HSVhsv(310, 51%, 95%)
CMYKcmyk(0%, 50.8%, 8.7%, 5.1%)
CIE-LABlab(67.50, 59.92, -30.79)
CIE-LCHlch(67.50, 67.37, 332.81°)
OKLaboklab(74.44% 0.1728 -0.0835)
OKLCHoklch(74.44% 0.192 334.2)
XYZxyz(56.2660, 37.2951, 72.6277)
Luminance0.3729 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F277DD #77F28C
analogous
#C977F2 #F277DD #F2779F
triadic
#F277DD #DDF277 #77DDF2
tetradic
#F277DD #F2C977 #77F28C #779FF2
square
#F277DD #F2C977 #77F28C #779FF2
split-complementary
#F277DD #9FF277 #77F2C9
monochromatic
#DA15B8 #ED3FCF #F277DD #F7AFEB #FCE3F8

Accessibility & contrast

On white

2.48
#F277DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#F277DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F277DD
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F277DD#FFFFFF#000000##000000
##F277DD1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7699E0
Deuteranopia (green-blind)
#99ABDA
Tritanopia (blue-blind)
#FC7EA0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f277dd;
/* rgb */ color: rgb(242, 119, 221);
/* oklch */ color: oklch(74.4% 0.192 334.2);
Tailwind
colors: {
  custom: {
    50: '#f9a3e8',
    500: '#f277dd',
    950: '#000000',
  },
}
SCSS
$custom: #f277dd;
$custom-light: #f9a3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#f277dd",
  "rgb": {
    "r": 242,
    "g": 119,
    "b": 221
  },
  "hsl": {
    "h": 310.244,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74438,
    "c": 0.1919,
    "h": 334.2
  },
  "luminance": 0.37291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F277DD

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

Preview Lab → · Contrast checker → · Palette generator →

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