#F274DC#F274DC

#F274DC is a light, vivid pink. Relative luminance 0.365; OKLCH L 74.0% C 0.196 H 334.5°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#F274DC
RGBrgb(242, 116, 220)
HSLhsl(310, 83%, 70%)
HSVhsv(310, 52%, 95%)
CMYKcmyk(0%, 52.1%, 9.1%, 5.1%)
CIE-LABlab(66.93, 61.16, -31.11)
CIE-LCHlch(66.93, 68.62, 333.04°)
OKLaboklab(74% 0.1767 -0.0844)
OKLCHoklch(74% 0.196 334.5)
XYZxyz(55.7817, 36.5392, 71.8110)
Luminance0.3654 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F274DC #74F28A
analogous
#C974F2 #F274DC #F2749D
triadic
#F274DC #DCF274 #74DCF2
tetradic
#F274DC #F2C974 #74F28A #749DF2
square
#F274DC #F2C974 #74F28A #749DF2
split-complementary
#F274DC #9DF274 #74F2C9
monochromatic
#D714B5 #ED3CCE #F274DC #F7ACEA #FCE3F8

Accessibility & contrast

On white

2.53
#F274DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#F274DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F274DC
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F274DC#FFFFFF#000000##000000
##F274DC1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397DF
Deuteranopia (green-blind)
#98AAD9
Tritanopia (blue-blind)
#FC7B9E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f274dc;
/* rgb */ color: rgb(242, 116, 220);
/* oklch */ color: oklch(74.0% 0.196 334.5);
Tailwind
colors: {
  custom: {
    50: '#f9a1e7',
    500: '#f274dc',
    950: '#000000',
  },
}
SCSS
$custom: #f274dc;
$custom-light: #f9a1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f274dc",
  "rgb": {
    "r": 242,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 310.476,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74004,
    "c": 0.19578,
    "h": 334.5
  },
  "luminance": 0.36535
}

Semantic roles & 50–950 ramp

primary
#F274DC
secondary
#CFF2D6
accent
#DF2C06
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F274DC

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

Preview Lab → · Contrast checker → · Palette generator →

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