#F270C5#F270C5

#F270C5 is a light, vivid pink. Relative luminance 0.345; OKLCH L 72.6% C 0.185 H 342.8°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#F270C5
RGBrgb(242, 112, 197)
HSLhsl(321, 83%, 69%)
HSVhsv(321, 54%, 95%)
CMYKcmyk(0%, 53.7%, 18.6%, 5.1%)
CIE-LABlab(65.36, 59.54, -20.64)
CIE-LCHlch(65.36, 63.02, 340.88°)
OKLaboklab(72.55% 0.1772 -0.055)
OKLCHoklch(72.55% 0.186 342.8)
XYZxyz(52.4913, 34.5011, 56.7073)
Luminance0.3450 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F270C5 #70F29D
analogous
#DE70F2 #F270C5 #F27084
triadic
#F270C5 #C5F270 #70C5F2
tetradic
#F270C5 #F2DE70 #70F29D #7084F2
square
#F270C5 #F2DE70 #70F29D #7084F2
split-complementary
#F270C5 #84F270 #70F2DE
monochromatic
#D41391 #ED38AE #F270C5 #F7A8DC #FCE0F3

Accessibility & contrast

On white

2.66
#F270C5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#F270C5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F270C5
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F270C5#FFFFFF#000000##000000
##F270C51.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7991C8
Deuteranopia (green-blind)
#9DA7C2
Tritanopia (blue-blind)
#FF7192
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f270c5;
/* rgb */ color: rgb(242, 112, 197);
/* oklch */ color: oklch(72.6% 0.185 342.8);
Tailwind
colors: {
  custom: {
    50: '#f99ed6',
    500: '#f270c5',
    950: '#000000',
  },
}
SCSS
$custom: #f270c5;
$custom-light: #f99ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#f270c5",
  "rgb": {
    "r": 242,
    "g": 112,
    "b": 197
  },
  "hsl": {
    "h": 320.769,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72552,
    "c": 0.1855,
    "h": 342.8
  },
  "luminance": 0.34497
}

Semantic roles & 50–950 ramp

primary
#F270C5
secondary
#CCF2D9
accent
#E05106
background
#FFFAFD
surface
#FFF3FA
border
#D7CDD3
text
#180F14
muted
#867F83

Preview Lab

Preview with #F270C5

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

Preview Lab → · Contrast checker → · Palette generator →

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