#F277CA#F277CA

#F277CA is a light, vivid pink. Relative luminance 0.363; OKLCH L 73.7% C 0.178 H 341.4°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#F277CA
RGBrgb(242, 119, 202)
HSLhsl(320, 83%, 71%)
HSVhsv(320, 51%, 95%)
CMYKcmyk(0%, 50.8%, 16.5%, 5.1%)
CIE-LABlab(66.78, 57.00, -21.29)
CIE-LCHlch(66.78, 60.84, 339.52°)
OKLaboklab(73.67% 0.1686 -0.0568)
OKLCHoklch(73.67% 0.178 341.4)
XYZxyz(53.8763, 36.3393, 60.0422)
Luminance0.3634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F277CA #77F29F
analogous
#DC77F2 #F277CA #F2778C
triadic
#F277CA #CAF277 #77CAF2
tetradic
#F277CA #F2DC77 #77F29F #778CF2
square
#F277CA #F2DC77 #77F29F #778CF2
split-complementary
#F277CA #8CF277 #77F2DC
monochromatic
#DA159A #ED3FB4 #F277CA #F7AFE0 #FCE3F4

Accessibility & contrast

On white

2.54
#F277CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#F277CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F277CA
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F277CA#FFFFFF#000000##000000
##F277CA1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E96CD
Deuteranopia (green-blind)
#A0AAC7
Tritanopia (blue-blind)
#FE7897
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f277ca;
/* rgb */ color: rgb(242, 119, 202);
/* oklch */ color: oklch(73.7% 0.178 341.4);
Tailwind
colors: {
  custom: {
    50: '#f9a2da',
    500: '#f277ca',
    950: '#000000',
  },
}
SCSS
$custom: #f277ca;
$custom-light: #f9a2da;
$custom-dark: #000000;
JSON
{
  "hex": "#f277ca",
  "rgb": {
    "r": 242,
    "g": 119,
    "b": 202
  },
  "hsl": {
    "h": 319.512,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73667,
    "c": 0.17792,
    "h": 341.4
  },
  "luminance": 0.36335
}

Semantic roles & 50–950 ramp

primary
#F277CA
secondary
#D2F3DD
accent
#DF4D07
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#180F14
muted
#867F83

Preview Lab

Preview with #F277CA

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

Preview Lab → · Contrast checker → · Palette generator →

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