#F277CF#F277CF

#F277CF is a light, vivid pink. Relative luminance 0.366; OKLCH L 73.9% C 0.181 H 339.4°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#F277CF
RGBrgb(242, 119, 207)
HSLhsl(317, 83%, 71%)
HSVhsv(317, 51%, 95%)
CMYKcmyk(0%, 50.8%, 14.5%, 5.1%)
CIE-LABlab(66.96, 57.74, -23.81)
CIE-LCHlch(66.96, 62.46, 337.59°)
OKLaboklab(73.86% 0.1698 -0.0639)
OKLCHoklch(73.86% 0.181 339.4)
XYZxyz(54.4779, 36.5799, 63.2107)
Luminance0.3658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F277CF #77F29A
analogous
#D777F2 #F277CF #F27791
triadic
#F277CF #CFF277 #77CFF2
tetradic
#F277CF #F2D777 #77F29A #7791F2
square
#F277CF #F2D777 #77F29A #7791F2
split-complementary
#F277CF #91F277 #77F2D7
monochromatic
#DA15A2 #ED3FBB #F277CF #F7AFE3 #FCE3F5

Accessibility & contrast

On white

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

On black

8.32
#F277CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F277CF
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F277CF#FFFFFF#000000##000000
##F277CF1.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C97D2
Deuteranopia (green-blind)
#9EAACC
Tritanopia (blue-blind)
#FE7A9A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f277cf;
/* rgb */ color: rgb(242, 119, 207);
/* oklch */ color: oklch(73.9% 0.181 339.4);
Tailwind
colors: {
  custom: {
    50: '#f9a2dd',
    500: '#f277cf',
    950: '#000000',
  },
}
SCSS
$custom: #f277cf;
$custom-light: #f9a2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#f277cf",
  "rgb": {
    "r": 242,
    "g": 119,
    "b": 207
  },
  "hsl": {
    "h": 317.073,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73863,
    "c": 0.18142,
    "h": 339.4
  },
  "luminance": 0.36576
}

Semantic roles & 50–950 ramp

primary
#F277CF
secondary
#D2F3DB
accent
#DF4407
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F277CF

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

Preview Lab → · Contrast checker → · Palette generator →

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