#F276CF#F276CF

#F276CF is a light, vivid pink. Relative luminance 0.363; OKLCH L 73.7% C 0.183 H 339.3°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#F276CF
RGBrgb(242, 118, 207)
HSLhsl(317, 83%, 71%)
HSVhsv(317, 51%, 95%)
CMYKcmyk(0%, 51.2%, 14.5%, 5.1%)
CIE-LABlab(66.78, 58.22, -24.08)
CIE-LCHlch(66.78, 63.00, 337.53°)
OKLaboklab(73.73% 0.1712 -0.0646)
OKLCHoklch(73.73% 0.183 339.3)
XYZxyz(54.3595, 36.3432, 63.1712)
Luminance0.3634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F276CF #76F299
analogous
#D776F2 #F276CF #F27691
triadic
#F276CF #CFF276 #76CFF2
tetradic
#F276CF #F2D776 #76F299 #7691F2
square
#F276CF #F2D776 #76F299 #7691F2
split-complementary
#F276CF #91F276 #76F2D7
monochromatic
#D915A2 #ED3EBB #F276CF #F7AEE3 #FCE3F5

Accessibility & contrast

On white

2.54
#F276CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#F276CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F276CF
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F276CF#FFFFFF#000000##000000
##F276CF1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B96D2
Deuteranopia (green-blind)
#9EAACC
Tritanopia (blue-blind)
#FE7999
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f276cf;
/* rgb */ color: rgb(242, 118, 207);
/* oklch */ color: oklch(73.7% 0.183 339.3);
Tailwind
colors: {
  custom: {
    50: '#f9a2dd',
    500: '#f276cf',
    950: '#000000',
  },
}
SCSS
$custom: #f276cf;
$custom-light: #f9a2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#f276cf",
  "rgb": {
    "r": 242,
    "g": 118,
    "b": 207
  },
  "hsl": {
    "h": 316.935,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7373,
    "c": 0.18298,
    "h": 339.3
  },
  "luminance": 0.36339
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F276CF

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

Preview Lab → · Contrast checker → · Palette generator →

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