#F277BD#F277BD

#F277BD is a light, vivid pink. Relative luminance 0.357; OKLCH L 73.2% C 0.170 H 346.9°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#F277BD
RGBrgb(242, 119, 189)
HSLhsl(326, 83%, 71%)
HSVhsv(326, 51%, 95%)
CMYKcmyk(0%, 50.8%, 21.9%, 5.1%)
CIE-LABlab(66.33, 55.13, -14.66)
CIE-LCHlch(66.33, 57.04, 345.11°)
OKLaboklab(73.18% 0.1652 -0.0386)
OKLCHoklch(73.18% 0.17 346.9)
XYZxyz(52.4015, 35.7493, 52.2747)
Luminance0.3574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F277BD #77F2AC
analogous
#EA77F2 #F277BD #F2777F
triadic
#F277BD #BDF277 #77BDF2
tetradic
#F277BD #F2EA77 #77F2AC #777FF2
square
#F277BD #F2EA77 #77F2AC #777FF2
split-complementary
#F277BD #7FF277 #77F2EA
monochromatic
#DA1585 #ED3FA2 #F277BD #F7AFD8 #FCE3F1

Accessibility & contrast

On white

2.58
#F277BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#F277BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F277BD
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F277BD#FFFFFF#000000##000000
##F277BD1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8394BF
Deuteranopia (green-blind)
#A4A9BA
Tritanopia (blue-blind)
#FF7592
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f277bd;
/* rgb */ color: rgb(242, 119, 189);
/* oklch */ color: oklch(73.2% 0.170 346.9);
Tailwind
colors: {
  custom: {
    50: '#f9a2d1',
    500: '#f277bd',
    950: '#000000',
  },
}
SCSS
$custom: #f277bd;
$custom-light: #f9a2d1;
$custom-dark: #000000;
JSON
{
  "hex": "#f277bd",
  "rgb": {
    "r": 242,
    "g": 119,
    "b": 189
  },
  "hsl": {
    "h": 325.854,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73183,
    "c": 0.16964,
    "h": 346.9
  },
  "luminance": 0.35745
}

Semantic roles & 50–950 ramp

primary
#F277BD
secondary
#D2F3E0
accent
#DF6407
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#180F14
muted
#867F82

Preview Lab

Preview with #F277BD

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

Preview Lab → · Contrast checker → · Palette generator →

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