#F274DD#F274DD

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

Color values

HEX#F274DD
RGBrgb(242, 116, 221)
HSLhsl(310, 83%, 70%)
HSVhsv(310, 52%, 95%)
CMYKcmyk(0%, 52.1%, 8.7%, 5.1%)
CIE-LABlab(66.97, 61.32, -31.60)
CIE-LCHlch(66.97, 68.99, 332.74°)
OKLaboklab(74.05% 0.1769 -0.0858)
OKLCHoklch(74.05% 0.197 334.1)
XYZxyz(55.9146, 36.5923, 72.5106)
Luminance0.3659 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F274DD #74F289
analogous
#C874F2 #F274DD #F2749E
triadic
#F274DD #DDF274 #74DDF2
tetradic
#F274DD #F2C874 #74F289 #749EF2
square
#F274DD #F2C874 #74F289 #749EF2
split-complementary
#F274DD #9EF274 #74F2C8
monochromatic
#D714B7 #ED3CCF #F274DD #F7ACEB #FCE3F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F274DD#FFFFFF#000000##000000
##F274DD1.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)
#7397E0
Deuteranopia (green-blind)
#97AADA
Tritanopia (blue-blind)
#FC7B9F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f274dd;
/* rgb */ color: rgb(242, 116, 221);
/* oklch */ color: oklch(74.0% 0.197 334.1);
Tailwind
colors: {
  custom: {
    50: '#f9a1e8',
    500: '#f274dd',
    950: '#000000',
  },
}
SCSS
$custom: #f274dd;
$custom-light: #f9a1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#f274dd",
  "rgb": {
    "r": 242,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 310,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74047,
    "c": 0.19656,
    "h": 334.1
  },
  "luminance": 0.36588
}

Semantic roles & 50–950 ramp

primary
#F274DD
secondary
#CFF2D5
accent
#DF2A06
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F274DD

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

Preview Lab → · Contrast checker → · Palette generator →

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