#F277AC#F277AC

#F277AC is a light, vivid pink. Relative luminance 0.350; OKLCH L 72.6% C 0.161 H 354.7°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#F277AC
RGBrgb(242, 119, 172)
HSLhsl(334, 83%, 71%)
HSVhsv(334, 51%, 95%)
CMYKcmyk(0%, 50.8%, 28.9%, 5.1%)
CIE-LABlab(65.79, 52.86, -5.85)
CIE-LCHlch(65.79, 53.18, 353.68°)
OKLaboklab(72.6% 0.1601 -0.0148)
OKLCHoklch(72.6% 0.161 354.7)
XYZxyz(50.6632, 35.0540, 43.1196)
Luminance0.3505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F277AC #77F2BD
analogous
#F277EA #F277AC #F27F77
triadic
#F277AC #ACF277 #77ACF2
tetradic
#F277AC #EAF277 #77F2BD #7F77F2
square
#F277AC #EAF277 #77F2BD #7F77F2
split-complementary
#F277AC #77F27F #77EAF2
monochromatic
#DA156A #ED3F8A #F277AC #F7AFCE #FCE3EE

Accessibility & contrast

On white

2.62
#F277AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#F277AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F277AC
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F277AC#FFFFFF#000000##000000
##F277AC1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8892AE
Deuteranopia (green-blind)
#A8A8A9
Tritanopia (blue-blind)
#FF708B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f277ac;
/* rgb */ color: rgb(242, 119, 172);
/* oklch */ color: oklch(72.6% 0.161 354.7);
Tailwind
colors: {
  custom: {
    50: '#f9a2c4',
    500: '#f277ac',
    950: '#000000',
  },
}
SCSS
$custom: #f277ac;
$custom-light: #f9a2c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f277ac",
  "rgb": {
    "r": 242,
    "g": 119,
    "b": 172
  },
  "hsl": {
    "h": 334.146,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72604,
    "c": 0.16081,
    "h": 354.7
  },
  "luminance": 0.35049
}

Semantic roles & 50–950 ramp

primary
#F277AC
secondary
#D2F3E5
accent
#DF8207
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#180F12
muted
#867F81

Preview Lab

Preview with #F277AC

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

Preview Lab → · Contrast checker → · Palette generator →

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