#F273DC#F273DC

#F273DC is a light, vivid pink. Relative luminance 0.363; OKLCH L 73.9% C 0.197 H 334.4°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#F273DC
RGBrgb(242, 115, 220)
HSLhsl(310, 83%, 70%)
HSVhsv(310, 52%, 95%)
CMYKcmyk(0%, 52.5%, 9.1%, 5.1%)
CIE-LABlab(66.76, 61.63, -31.38)
CIE-LCHlch(66.76, 69.15, 333.02°)
OKLaboklab(73.88% 0.178 -0.0851)
OKLCHoklch(73.88% 0.197 334.4)
XYZxyz(55.6671, 36.3099, 71.7728)
Luminance0.3631 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F273DC #73F289
analogous
#C973F2 #F273DC #F2739C
triadic
#F273DC #DCF273 #73DCF2
tetradic
#F273DC #F2C973 #73F289 #739CF2
square
#F273DC #F2C973 #73F289 #739CF2
split-complementary
#F273DC #9CF273 #73F2C9
monochromatic
#D714B5 #ED3BCE #F273DC #F7ABEA #FCE3F8

Accessibility & contrast

On white

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

On black

8.26
#F273DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F273DC
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F273DC#FFFFFF#000000##000000
##F273DC1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7297DF
Deuteranopia (green-blind)
#97A9D9
Tritanopia (blue-blind)
#FC7A9E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f273dc;
/* rgb */ color: rgb(242, 115, 220);
/* oklch */ color: oklch(73.9% 0.197 334.4);
Tailwind
colors: {
  custom: {
    50: '#f9a0e7',
    500: '#f273dc',
    950: '#000000',
  },
}
SCSS
$custom: #f273dc;
$custom-light: #f9a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f273dc",
  "rgb": {
    "r": 242,
    "g": 115,
    "b": 220
  },
  "hsl": {
    "h": 310.394,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.73876,
    "c": 0.19731,
    "h": 334.4
  },
  "luminance": 0.36306
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F273DC

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

Preview Lab → · Contrast checker → · Palette generator →

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