#F276DF#F276DF

#F276DF is a light, vivid purple. Relative luminance 0.372; OKLCH L 74.4% C 0.195 H 333.5°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#F276DF
RGBrgb(242, 118, 223)
HSLhsl(309, 83%, 71%)
HSVhsv(309, 51%, 95%)
CMYKcmyk(0%, 51.2%, 7.9%, 5.1%)
CIE-LABlab(67.40, 60.71, -32.05)
CIE-LCHlch(67.40, 68.65, 332.17°)
OKLaboklab(74.39% 0.1745 -0.0871)
OKLCHoklch(74.39% 0.195 333.5)
XYZxyz(56.4156, 37.1656, 74.0000)
Luminance0.3716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F276DF #76F289
analogous
#C776F2 #F276DF #F276A1
triadic
#F276DF #DFF276 #76DFF2
tetradic
#F276DF #F2C776 #76F289 #76A1F2
square
#F276DF #F2C776 #76F289 #76A1F2
split-complementary
#F276DF #A1F276 #76F2C7
monochromatic
#D915BB #ED3ED2 #F276DF #F7AEEC #FCE3F8

Accessibility & contrast

On white

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

On black

8.43
#F276DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F276DF
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F276DF#FFFFFF#000000##000000
##F276DF1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7499E2
Deuteranopia (green-blind)
#98ABDC
Tritanopia (blue-blind)
#FB7EA0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f276df;
/* rgb */ color: rgb(242, 118, 223);
/* oklch */ color: oklch(74.4% 0.195 333.5);
Tailwind
colors: {
  custom: {
    50: '#f9a2e9',
    500: '#f276df',
    950: '#000000',
  },
}
SCSS
$custom: #f276df;
$custom-light: #f9a2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f276df",
  "rgb": {
    "r": 242,
    "g": 118,
    "b": 223
  },
  "hsl": {
    "h": 309.194,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74393,
    "c": 0.19503,
    "h": 333.5
  },
  "luminance": 0.37162
}

Semantic roles & 50–950 ramp

primary
#F276DF
secondary
#D1F3D6
accent
#DF2806
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F276DF

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

Preview Lab → · Contrast checker → · Palette generator →

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