#F276DB#F276DB

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

Color values

HEX#F276DB
RGBrgb(242, 118, 219)
HSLhsl(311, 83%, 71%)
HSVhsv(311, 51%, 95%)
CMYKcmyk(0%, 51.2%, 9.5%, 5.1%)
CIE-LABlab(67.24, 60.07, -30.07)
CIE-LCHlch(67.24, 67.18, 333.41°)
OKLaboklab(74.22% 0.1737 -0.0815)
OKLCHoklch(74.22% 0.192 334.9)
XYZxyz(55.8827, 36.9524, 71.1933)
Luminance0.3695 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F276DB #76F28D
analogous
#CB76F2 #F276DB #F2769D
triadic
#F276DB #DBF276 #76DBF2
tetradic
#F276DB #F2CB76 #76F28D #769DF2
square
#F276DB #F2CB76 #76F28D #769DF2
split-complementary
#F276DB #9DF276 #76F2CB
monochromatic
#D915B5 #ED3ECC #F276DB #F7AEEA #FCE3F8

Accessibility & contrast

On white

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

On black

8.39
#F276DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F276DB
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F276DB#FFFFFF#000000##000000
##F276DB1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DE
Deuteranopia (green-blind)
#99AAD8
Tritanopia (blue-blind)
#FC7D9F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f276db;
/* rgb */ color: rgb(242, 118, 219);
/* oklch */ color: oklch(74.2% 0.192 334.9);
Tailwind
colors: {
  custom: {
    50: '#f9a2e6',
    500: '#f276db',
    950: '#000000',
  },
}
SCSS
$custom: #f276db;
$custom-light: #f9a2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f276db",
  "rgb": {
    "r": 242,
    "g": 118,
    "b": 219
  },
  "hsl": {
    "h": 311.129,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74222,
    "c": 0.1919,
    "h": 334.9
  },
  "luminance": 0.36949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F276DB

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

Preview Lab → · Contrast checker → · Palette generator →

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