#F277AF#F277AF

#F277AF is a light, vivid pink. Relative luminance 0.352; OKLCH L 72.7% C 0.162 H 353.3°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#F277AF
RGBrgb(242, 119, 175)
HSLhsl(333, 83%, 71%)
HSVhsv(333, 51%, 95%)
CMYKcmyk(0%, 50.8%, 27.7%, 5.1%)
CIE-LABlab(65.88, 53.24, -7.42)
CIE-LCHlch(65.88, 53.76, 352.07°)
OKLaboklab(72.7% 0.1611 -0.019)
OKLCHoklch(72.7% 0.162 353.3)
XYZxyz(50.9545, 35.1706, 44.6541)
Luminance0.3517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F277AF #77F2BA
analogous
#F277EC #F277AF #F27C77
triadic
#F277AF #AFF277 #77AFF2
tetradic
#F277AF #ECF277 #77F2BA #7C77F2
square
#F277AF #ECF277 #77F2BA #7C77F2
split-complementary
#F277AF #77F27C #77ECF2
monochromatic
#DA156E #ED3F8E #F277AF #F7AFD0 #FCE3EF

Accessibility & contrast

On white

2.61
#F277AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#F277AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F277AF
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F277AF#FFFFFF#000000##000000
##F277AF1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8792B1
Deuteranopia (green-blind)
#A7A8AC
Tritanopia (blue-blind)
#FF718C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f277af;
/* rgb */ color: rgb(242, 119, 175);
/* oklch */ color: oklch(72.7% 0.162 353.3);
Tailwind
colors: {
  custom: {
    50: '#f9a2c6',
    500: '#f277af',
    950: '#000000',
  },
}
SCSS
$custom: #f277af;
$custom-light: #f9a2c6;
$custom-dark: #000000;
JSON
{
  "hex": "#f277af",
  "rgb": {
    "r": 242,
    "g": 119,
    "b": 175
  },
  "hsl": {
    "h": 332.683,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72702,
    "c": 0.16219,
    "h": 353.3
  },
  "luminance": 0.35166
}

Semantic roles & 50–950 ramp

primary
#F277AF
secondary
#D2F3E4
accent
#DF7C07
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#180F13
muted
#867F82

Preview Lab

Preview with #F277AF

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

Preview Lab → · Contrast checker → · Palette generator →

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