#F274D7#F274D7

#F274D7 is a light, vivid pink. Relative luminance 0.363; OKLCH L 73.8% C 0.192 H 336.2°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#F274D7
RGBrgb(242, 116, 215)
HSLhsl(313, 83%, 70%)
HSVhsv(313, 52%, 95%)
CMYKcmyk(0%, 52.1%, 11.2%, 5.1%)
CIE-LABlab(66.73, 60.38, -28.63)
CIE-LCHlch(66.73, 66.82, 334.63°)
OKLaboklab(73.79% 0.1757 -0.0774)
OKLCHoklch(73.79% 0.192 336.2)
XYZxyz(55.1294, 36.2783, 68.3756)
Luminance0.3627 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F274D7 #74F28F
analogous
#CE74F2 #F274D7 #F27498
triadic
#F274D7 #D7F274 #74D7F2
tetradic
#F274D7 #F2CE74 #74F28F #7498F2
square
#F274D7 #F2CE74 #74F28F #7498F2
split-complementary
#F274D7 #98F274 #74F2CE
monochromatic
#D714AE #ED3CC7 #F274D7 #F7ACE7 #FCE3F7

Accessibility & contrast

On white

2.54
#F274D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#F274D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F274D7
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F274D7#FFFFFF#000000##000000
##F274D71.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7696DA
Deuteranopia (green-blind)
#9AA9D4
Tritanopia (blue-blind)
#FD7A9C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f274d7;
/* rgb */ color: rgb(242, 116, 215);
/* oklch */ color: oklch(73.8% 0.192 336.2);
Tailwind
colors: {
  custom: {
    50: '#f9a1e3',
    500: '#f274d7',
    950: '#000000',
  },
}
SCSS
$custom: #f274d7;
$custom-light: #f9a1e3;
$custom-dark: #000000;
JSON
{
  "hex": "#f274d7",
  "rgb": {
    "r": 242,
    "g": 116,
    "b": 215
  },
  "hsl": {
    "h": 312.857,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73793,
    "c": 0.19197,
    "h": 336.2
  },
  "luminance": 0.36274
}

Semantic roles & 50–950 ramp

primary
#F274D7
secondary
#CFF2D7
accent
#DF3506
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F274D7

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

Preview Lab → · Contrast checker → · Palette generator →

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