#F276DA#F276DA

#F276DA is a light, vivid pink. Relative luminance 0.369; OKLCH L 74.2% C 0.191 H 335.2°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#F276DA
RGBrgb(242, 118, 218)
HSLhsl(312, 83%, 71%)
HSVhsv(312, 51%, 95%)
CMYKcmyk(0%, 51.2%, 9.9%, 5.1%)
CIE-LABlab(67.20, 59.92, -29.57)
CIE-LCHlch(67.20, 66.82, 333.73°)
OKLaboklab(74.18% 0.1736 -0.0801)
OKLCHoklch(74.18% 0.191 335.2)
XYZxyz(55.7515, 36.8999, 70.5020)
Luminance0.3690 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F276DA #76F28E
analogous
#CC76F2 #F276DA #F2769C
triadic
#F276DA #DAF276 #76DAF2
tetradic
#F276DA #F2CC76 #76F28E #769CF2
square
#F276DA #F2CC76 #76F28E #769CF2
split-complementary
#F276DA #9CF276 #76F2CC
monochromatic
#D915B3 #ED3ECB #F276DA #F7AEE9 #FCE3F7

Accessibility & contrast

On white

2.51
#F276DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#F276DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F276DA
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F276DA#FFFFFF#000000##000000
##F276DA1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DD
Deuteranopia (green-blind)
#9AAAD7
Tritanopia (blue-blind)
#FC7C9E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f276da;
/* rgb */ color: rgb(242, 118, 218);
/* oklch */ color: oklch(74.2% 0.191 335.2);
Tailwind
colors: {
  custom: {
    50: '#f9a2e5',
    500: '#f276da',
    950: '#000000',
  },
}
SCSS
$custom: #f276da;
$custom-light: #f9a2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#f276da",
  "rgb": {
    "r": 242,
    "g": 118,
    "b": 218
  },
  "hsl": {
    "h": 311.613,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7418,
    "c": 0.19114,
    "h": 335.2
  },
  "luminance": 0.36896
}

Semantic roles & 50–950 ramp

primary
#F276DA
secondary
#D1F3D8
accent
#DF3006
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F276DA

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

Preview Lab → · Contrast checker → · Palette generator →

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