#F276D4#F276D4

#F276D4 is a light, vivid pink. Relative luminance 0.366; OKLCH L 73.9% C 0.187 H 337.4°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#F276D4
RGBrgb(242, 118, 212)
HSLhsl(315, 83%, 71%)
HSVhsv(315, 51%, 95%)
CMYKcmyk(0%, 51.2%, 12.4%, 5.1%)
CIE-LABlab(66.97, 58.98, -26.59)
CIE-LCHlch(66.97, 64.70, 335.73°)
OKLaboklab(73.93% 0.1723 -0.0716)
OKLCHoklch(73.93% 0.187 337.4)
XYZxyz(54.9805, 36.5915, 66.4417)
Luminance0.3659 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F276D4 #76F294
analogous
#D276F2 #F276D4 #F27696
triadic
#F276D4 #D4F276 #76D4F2
tetradic
#F276D4 #F2D276 #76F294 #7696F2
square
#F276D4 #F2D276 #76F294 #7696F2
split-complementary
#F276D4 #96F276 #76F2D2
monochromatic
#D915A9 #ED3EC2 #F276D4 #F7AEE6 #FCE3F6

Accessibility & contrast

On white

2.52
#F276D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#F276D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F276D4
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F276D4#FFFFFF#000000##000000
##F276D41.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7997D7
Deuteranopia (green-blind)
#9CAAD1
Tritanopia (blue-blind)
#FD7A9B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f276d4;
/* rgb */ color: rgb(242, 118, 212);
/* oklch */ color: oklch(73.9% 0.187 337.4);
Tailwind
colors: {
  custom: {
    50: '#f9a2e1',
    500: '#f276d4',
    950: '#000000',
  },
}
SCSS
$custom: #f276d4;
$custom-light: #f9a2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#f276d4",
  "rgb": {
    "r": 242,
    "g": 118,
    "b": 212
  },
  "hsl": {
    "h": 314.516,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73931,
    "c": 0.18661,
    "h": 337.4
  },
  "luminance": 0.36588
}

Semantic roles & 50–950 ramp

primary
#F276D4
secondary
#D1F3D9
accent
#DF3B06
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F276D4

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

Preview Lab → · Contrast checker → · Palette generator →

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