#F277C5#F277C5

#F277C5 is a light, vivid pink. Relative luminance 0.361; OKLCH L 73.5% C 0.175 H 343.4°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#F277C5
RGBrgb(242, 119, 197)
HSLhsl(322, 83%, 71%)
HSVhsv(322, 51%, 95%)
CMYKcmyk(0%, 50.8%, 18.6%, 5.1%)
CIE-LABlab(66.60, 56.26, -18.75)
CIE-LCHlch(66.60, 59.31, 341.57°)
OKLaboklab(73.48% 0.1674 -0.0498)
OKLCHoklch(73.48% 0.175 343.4)
XYZxyz(53.2939, 36.1063, 56.9748)
Luminance0.3610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F277C5 #77F2A4
analogous
#E177F2 #F277C5 #F27787
triadic
#F277C5 #C5F277 #77C5F2
tetradic
#F277C5 #F2E177 #77F2A4 #7787F2
square
#F277C5 #F2E177 #77F2A4 #7787F2
split-complementary
#F277C5 #87F277 #77F2E1
monochromatic
#DA1592 #ED3FAD #F277C5 #F7AFDD #FCE3F3

Accessibility & contrast

On white

2.55
#F277C5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#F277C5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F277C5
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F277C5#FFFFFF#000000##000000
##F277C51.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8095C8
Deuteranopia (green-blind)
#A1A9C2
Tritanopia (blue-blind)
#FF7795
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f277c5;
/* rgb */ color: rgb(242, 119, 197);
/* oklch */ color: oklch(73.5% 0.175 343.4);
Tailwind
colors: {
  custom: {
    50: '#f9a2d6',
    500: '#f277c5',
    950: '#000000',
  },
}
SCSS
$custom: #f277c5;
$custom-light: #f9a2d6;
$custom-dark: #000000;
JSON
{
  "hex": "#f277c5",
  "rgb": {
    "r": 242,
    "g": 119,
    "b": 197
  },
  "hsl": {
    "h": 321.951,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73477,
    "c": 0.17461,
    "h": 343.4
  },
  "luminance": 0.36102
}

Semantic roles & 50–950 ramp

primary
#F277C5
secondary
#D2F3DE
accent
#DF5607
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#180F14
muted
#867F83

Preview Lab

Preview with #F277C5

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

Preview Lab → · Contrast checker → · Palette generator →

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