#F274DB#F274DB

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

Color values

HEX#F274DB
RGBrgb(242, 116, 219)
HSLhsl(311, 83%, 70%)
HSVhsv(311, 52%, 95%)
CMYKcmyk(0%, 52.1%, 9.5%, 5.1%)
CIE-LABlab(66.89, 61.01, -30.61)
CIE-LCHlch(66.89, 68.26, 333.35°)
OKLaboklab(73.96% 0.1765 -0.083)
OKLCHoklch(73.96% 0.195 334.8)
XYZxyz(55.6497, 36.4864, 71.1156)
Luminance0.3648 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F274DB #74F28B
analogous
#CA74F2 #F274DB #F2749C
triadic
#F274DB #DBF274 #74DBF2
tetradic
#F274DB #F2CA74 #74F28B #749CF2
square
#F274DB #F2CA74 #74F28B #749CF2
split-complementary
#F274DB #9CF274 #74F2CA
monochromatic
#D714B4 #ED3CCD #F274DB #F7ACE9 #FCE3F8

Accessibility & contrast

On white

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

On black

8.30
#F274DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F274DB
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F274DB#FFFFFF#000000##000000
##F274DB1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7497DE
Deuteranopia (green-blind)
#98AAD8
Tritanopia (blue-blind)
#FC7B9E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f274db;
/* rgb */ color: rgb(242, 116, 219);
/* oklch */ color: oklch(74.0% 0.195 334.8);
Tailwind
colors: {
  custom: {
    50: '#f9a1e6',
    500: '#f274db',
    950: '#000000',
  },
}
SCSS
$custom: #f274db;
$custom-light: #f9a1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f274db",
  "rgb": {
    "r": 242,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 310.952,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73962,
    "c": 0.19501,
    "h": 334.8
  },
  "luminance": 0.36483
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F274DB

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

Preview Lab → · Contrast checker → · Palette generator →

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