#F274D8#F274D8

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

Color values

HEX#F274D8
RGBrgb(242, 116, 216)
HSLhsl(312, 83%, 70%)
HSVhsv(312, 52%, 95%)
CMYKcmyk(0%, 52.1%, 10.7%, 5.1%)
CIE-LABlab(66.77, 60.54, -29.12)
CIE-LCHlch(66.77, 67.18, 334.31°)
OKLaboklab(73.83% 0.1759 -0.0788)
OKLCHoklch(73.83% 0.193 335.9)
XYZxyz(55.2583, 36.3298, 69.0543)
Luminance0.3633 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F274D8 #74F28E
analogous
#CD74F2 #F274D8 #F27499
triadic
#F274D8 #D8F274 #74D8F2
tetradic
#F274D8 #F2CD74 #74F28E #7499F2
square
#F274D8 #F2CD74 #74F28E #7499F2
split-complementary
#F274D8 #99F274 #74F2CD
monochromatic
#D714AF #ED3CC8 #F274D8 #F7ACE8 #FCE3F7

Accessibility & contrast

On white

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

On black

8.27
#F274D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F274D8
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F274D8#FFFFFF#000000##000000
##F274D81.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7596DB
Deuteranopia (green-blind)
#99A9D5
Tritanopia (blue-blind)
#FD7A9C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f274d8;
/* rgb */ color: rgb(242, 116, 216);
/* oklch */ color: oklch(73.8% 0.193 335.9);
Tailwind
colors: {
  custom: {
    50: '#f9a1e4',
    500: '#f274d8',
    950: '#000000',
  },
}
SCSS
$custom: #f274d8;
$custom-light: #f9a1e4;
$custom-dark: #000000;
JSON
{
  "hex": "#f274d8",
  "rgb": {
    "r": 242,
    "g": 116,
    "b": 216
  },
  "hsl": {
    "h": 312.381,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73835,
    "c": 0.19272,
    "h": 335.9
  },
  "luminance": 0.36326
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F274D8

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

Preview Lab → · Contrast checker → · Palette generator →

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