#F277B2#F277B2

#F277B2 is a light, vivid pink. Relative luminance 0.353; OKLCH L 72.8% C 0.164 H 351.9°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#F277B2
RGBrgb(242, 119, 178)
HSLhsl(331, 83%, 71%)
HSVhsv(331, 51%, 95%)
CMYKcmyk(0%, 50.8%, 26.4%, 5.1%)
CIE-LABlab(65.97, 53.64, -8.98)
CIE-LCHlch(65.97, 54.38, 350.50°)
OKLaboklab(72.8% 0.162 -0.0231)
OKLCHoklch(72.8% 0.164 351.9)
XYZxyz(51.2524, 35.2897, 46.2231)
Luminance0.3528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F277B2 #77F2B7
analogous
#F277EF #F277B2 #F27977
triadic
#F277B2 #B2F277 #77B2F2
tetradic
#F277B2 #EFF277 #77F2B7 #7977F2
square
#F277B2 #EFF277 #77F2B7 #7977F2
split-complementary
#F277B2 #77F279 #77EFF2
monochromatic
#DA1573 #ED3F92 #F277B2 #F7AFD2 #FCE3EF

Accessibility & contrast

On white

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

On black

8.06
#F277B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F277B2
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F277B2#FFFFFF#000000##000000
##F277B21.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8693B4
Deuteranopia (green-blind)
#A6A8AF
Tritanopia (blue-blind)
#FF728D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f277b2;
/* rgb */ color: rgb(242, 119, 178);
/* oklch */ color: oklch(72.8% 0.164 351.9);
Tailwind
colors: {
  custom: {
    50: '#f9a2c9',
    500: '#f277b2',
    950: '#000000',
  },
}
SCSS
$custom: #f277b2;
$custom-light: #f9a2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f277b2",
  "rgb": {
    "r": 242,
    "g": 119,
    "b": 178
  },
  "hsl": {
    "h": 331.22,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72801,
    "c": 0.16364,
    "h": 351.9
  },
  "luminance": 0.35285
}

Semantic roles & 50–950 ramp

primary
#F277B2
secondary
#D2F3E3
accent
#DF7707
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#180F13
muted
#867F82

Preview Lab

Preview with #F277B2

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

Preview Lab → · Contrast checker → · Palette generator →

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