#F276DC#F276DC

#F276DC is a light, vivid pink. Relative luminance 0.370; OKLCH L 74.3% C 0.193 H 334.5°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#F276DC
RGBrgb(242, 118, 220)
HSLhsl(311, 83%, 71%)
HSVhsv(311, 51%, 95%)
CMYKcmyk(0%, 51.2%, 9.1%, 5.1%)
CIE-LABlab(67.28, 60.23, -30.56)
CIE-LCHlch(67.28, 67.55, 333.10°)
OKLaboklab(74.26% 0.174 -0.0829)
OKLCHoklch(74.26% 0.193 334.5)
XYZxyz(56.0148, 37.0052, 71.8887)
Luminance0.3700 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F276DC #76F28C
analogous
#CA76F2 #F276DC #F2769E
triadic
#F276DC #DCF276 #76DCF2
tetradic
#F276DC #F2CA76 #76F28C #769EF2
square
#F276DC #F2CA76 #76F28C #769EF2
split-complementary
#F276DC #9EF276 #76F2CA
monochromatic
#D915B6 #ED3ECE #F276DC #F7AEEA #FCE3F8

Accessibility & contrast

On white

2.50
#F276DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#F276DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F276DC
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F276DC#FFFFFF#000000##000000
##F276DC1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7598DF
Deuteranopia (green-blind)
#99AAD9
Tritanopia (blue-blind)
#FC7D9F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f276dc;
/* rgb */ color: rgb(242, 118, 220);
/* oklch */ color: oklch(74.3% 0.193 334.5);
Tailwind
colors: {
  custom: {
    50: '#f9a2e7',
    500: '#f276dc',
    950: '#000000',
  },
}
SCSS
$custom: #f276dc;
$custom-light: #f9a2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f276dc",
  "rgb": {
    "r": 242,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 310.645,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74264,
    "c": 0.19268,
    "h": 334.5
  },
  "luminance": 0.37001
}

Semantic roles & 50–950 ramp

primary
#F276DC
secondary
#D1F3D7
accent
#DF2D06
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F276DC

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

Preview Lab → · Contrast checker → · Palette generator →

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