#F277AB#F277AB

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

Color values

HEX#F277AB
RGBrgb(242, 119, 171)
HSLhsl(335, 83%, 71%)
HSVhsv(335, 51%, 95%)
CMYKcmyk(0%, 50.8%, 29.3%, 5.1%)
CIE-LABlab(65.76, 52.73, -5.33)
CIE-LCHlch(65.76, 53.00, 354.23°)
OKLaboklab(72.57% 0.1598 -0.0134)
OKLCHoklch(72.57% 0.16 355.2)
XYZxyz(50.5675, 35.0157, 42.6157)
Luminance0.3501 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F277AB #77F2BE
analogous
#F277E8 #F277AB #F28077
triadic
#F277AB #ABF277 #77ABF2
tetradic
#F277AB #E8F277 #77F2BE #8077F2
square
#F277AB #E8F277 #77F2BE #8077F2
split-complementary
#F277AB #77F280 #77E8F2
monochromatic
#DA1568 #ED3F88 #F277AB #F7AFCE #FCE3EE

Accessibility & contrast

On white

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

On black

8.00
#F277AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F277AB
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F277AB#FFFFFF#000000##000000
##F277AB1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8892AD
Deuteranopia (green-blind)
#A8A8A8
Tritanopia (blue-blind)
#FF708A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f277ab;
/* rgb */ color: rgb(242, 119, 171);
/* oklch */ color: oklch(72.6% 0.160 355.2);
Tailwind
colors: {
  custom: {
    50: '#f9a2c4',
    500: '#f277ab',
    950: '#000000',
  },
}
SCSS
$custom: #f277ab;
$custom-light: #f9a2c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f277ab",
  "rgb": {
    "r": 242,
    "g": 119,
    "b": 171
  },
  "hsl": {
    "h": 334.634,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72572,
    "c": 0.16038,
    "h": 355.2
  },
  "luminance": 0.35011
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F277AB

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

Preview Lab → · Contrast checker → · Palette generator →

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