#F277DB#F277DB

#F277DB is a light, vivid pink. Relative luminance 0.372; OKLCH L 74.4% C 0.190 H 334.9°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#F277DB
RGBrgb(242, 119, 219)
HSLhsl(311, 83%, 71%)
HSVhsv(311, 51%, 95%)
CMYKcmyk(0%, 50.8%, 9.5%, 5.1%)
CIE-LABlab(67.42, 59.61, -29.80)
CIE-LCHlch(67.42, 66.64, 333.44°)
OKLaboklab(74.35% 0.1724 -0.0807)
OKLCHoklch(74.35% 0.19 334.9)
XYZxyz(56.0011, 37.1892, 71.2327)
Luminance0.3719 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F277DB #77F28E
analogous
#CC77F2 #F277DB #F2779D
triadic
#F277DB #DBF277 #77DBF2
tetradic
#F277DB #F2CC77 #77F28E #779DF2
square
#F277DB #F2CC77 #77F28E #779DF2
split-complementary
#F277DB #9DF277 #77F2CC
monochromatic
#DA15B5 #ED3FCC #F277DB #F7AFEA #FCE3F8

Accessibility & contrast

On white

2.49
#F277DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#F277DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F277DB
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F277DB#FFFFFF#000000##000000
##F277DB1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799DE
Deuteranopia (green-blind)
#9AABD8
Tritanopia (blue-blind)
#FC7D9F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f277db;
/* rgb */ color: rgb(242, 119, 219);
/* oklch */ color: oklch(74.4% 0.190 334.9);
Tailwind
colors: {
  custom: {
    50: '#f9a3e6',
    500: '#f277db',
    950: '#000000',
  },
}
SCSS
$custom: #f277db;
$custom-light: #f9a3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f277db",
  "rgb": {
    "r": 242,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 311.22,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74354,
    "c": 0.19035,
    "h": 334.9
  },
  "luminance": 0.37185
}

Semantic roles & 50–950 ramp

primary
#F277DB
secondary
#D2F3D8
accent
#DF2F07
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F277DB

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

Preview Lab → · Contrast checker → · Palette generator →

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