#F276CC#F276CC

#F276CC is a light, vivid pink. Relative luminance 0.362; OKLCH L 73.6% C 0.181 H 340.5°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#F276CC
RGBrgb(242, 118, 204)
HSLhsl(318, 83%, 71%)
HSVhsv(318, 51%, 95%)
CMYKcmyk(0%, 51.2%, 15.7%, 5.1%)
CIE-LABlab(66.67, 57.77, -22.57)
CIE-LCHlch(66.67, 62.02, 338.66°)
OKLaboklab(73.61% 0.1705 -0.0604)
OKLCHoklch(73.61% 0.181 340.5)
XYZxyz(53.9963, 36.1978, 61.2580)
Luminance0.3619 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F276CC #76F29C
analogous
#DA76F2 #F276CC #F2768E
triadic
#F276CC #CCF276 #76CCF2
tetradic
#F276CC #F2DA76 #76F29C #768EF2
square
#F276CC #F2DA76 #76F29C #768EF2
split-complementary
#F276CC #8EF276 #76F2DA
monochromatic
#D9159D #ED3EB7 #F276CC #F7AEE1 #FCE3F5

Accessibility & contrast

On white

2.55
#F276CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#F276CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F276CC
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F276CC#FFFFFF#000000##000000
##F276CC1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C96CF
Deuteranopia (green-blind)
#9FA9C9
Tritanopia (blue-blind)
#FE7898
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f276cc;
/* rgb */ color: rgb(242, 118, 204);
/* oklch */ color: oklch(73.6% 0.181 340.5);
Tailwind
colors: {
  custom: {
    50: '#f9a2db',
    500: '#f276cc',
    950: '#000000',
  },
}
SCSS
$custom: #f276cc;
$custom-light: #f9a2db;
$custom-dark: #000000;
JSON
{
  "hex": "#f276cc",
  "rgb": {
    "r": 242,
    "g": 118,
    "b": 204
  },
  "hsl": {
    "h": 318.387,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73611,
    "c": 0.18088,
    "h": 340.5
  },
  "luminance": 0.36194
}

Semantic roles & 50–950 ramp

primary
#F276CC
secondary
#D1F3DB
accent
#DF4906
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F276CC

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

Preview Lab → · Contrast checker → · Palette generator →

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