#F277BC#F277BC

#F277BC is a light, vivid pink. Relative luminance 0.357; OKLCH L 73.1% C 0.169 H 347.3°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#F277BC
RGBrgb(242, 119, 188)
HSLhsl(326, 83%, 71%)
HSVhsv(326, 51%, 95%)
CMYKcmyk(0%, 50.8%, 22.3%, 5.1%)
CIE-LABlab(66.29, 54.99, -14.15)
CIE-LCHlch(66.29, 56.78, 345.57°)
OKLaboklab(73.15% 0.1649 -0.0372)
OKLCHoklch(73.15% 0.169 347.3)
XYZxyz(52.2933, 35.7061, 51.7050)
Luminance0.3570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F277BC #77F2AD
analogous
#EA77F2 #F277BC #F2777E
triadic
#F277BC #BCF277 #77BCF2
tetradic
#F277BC #F2EA77 #77F2AD #777EF2
square
#F277BC #F2EA77 #77F2AD #777EF2
split-complementary
#F277BC #7EF277 #77F2EA
monochromatic
#DA1583 #ED3FA0 #F277BC #F7AFD8 #FCE3F1

Accessibility & contrast

On white

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

On black

8.14
#F277BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F277BC
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F277BC#FFFFFF#000000##000000
##F277BC1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8394BE
Deuteranopia (green-blind)
#A4A9B9
Tritanopia (blue-blind)
#FF7591
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f277bc;
/* rgb */ color: rgb(242, 119, 188);
/* oklch */ color: oklch(73.1% 0.169 347.3);
Tailwind
colors: {
  custom: {
    50: '#f9a2d0',
    500: '#f277bc',
    950: '#000000',
  },
}
SCSS
$custom: #f277bc;
$custom-light: #f9a2d0;
$custom-dark: #000000;
JSON
{
  "hex": "#f277bc",
  "rgb": {
    "r": 242,
    "g": 119,
    "b": 188
  },
  "hsl": {
    "h": 326.341,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73147,
    "c": 0.16905,
    "h": 347.3
  },
  "luminance": 0.35702
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F277BC

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

Preview Lab → · Contrast checker → · Palette generator →

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