#F277CD#F277CD

#F277CD is a light, vivid pink. Relative luminance 0.365; OKLCH L 73.8% C 0.180 H 340.2°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#F277CD
RGBrgb(242, 119, 205)
HSLhsl(318, 83%, 71%)
HSVhsv(318, 51%, 95%)
CMYKcmyk(0%, 50.8%, 15.3%, 5.1%)
CIE-LABlab(66.89, 57.44, -22.80)
CIE-LCHlch(66.89, 61.80, 338.35°)
OKLaboklab(73.78% 0.1693 -0.0611)
OKLCHoklch(73.78% 0.18 340.2)
XYZxyz(54.2350, 36.4827, 61.9311)
Luminance0.3648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F277CD #77F29C
analogous
#D977F2 #F277CD #F2778F
triadic
#F277CD #CDF277 #77CDF2
tetradic
#F277CD #F2D977 #77F29C #778FF2
square
#F277CD #F2D977 #77F29C #778FF2
split-complementary
#F277CD #8FF277 #77F2D9
monochromatic
#DA159F #ED3FB8 #F277CD #F7AFE2 #FCE3F5

Accessibility & contrast

On white

2.53
#F277CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#F277CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F277CD
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F277CD#FFFFFF#000000##000000
##F277CD1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D97D0
Deuteranopia (green-blind)
#9FAACA
Tritanopia (blue-blind)
#FE7999
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f277cd;
/* rgb */ color: rgb(242, 119, 205);
/* oklch */ color: oklch(73.8% 0.180 340.2);
Tailwind
colors: {
  custom: {
    50: '#f9a2dc',
    500: '#f277cd',
    950: '#000000',
  },
}
SCSS
$custom: #f277cd;
$custom-light: #f9a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#f277cd",
  "rgb": {
    "r": 242,
    "g": 119,
    "b": 205
  },
  "hsl": {
    "h": 318.049,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73784,
    "c": 0.18,
    "h": 340.2
  },
  "luminance": 0.36479
}

Semantic roles & 50–950 ramp

primary
#F277CD
secondary
#D2F3DC
accent
#DF4807
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F277CD

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

Preview Lab → · Contrast checker → · Palette generator →

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