#F270CA#F270CA

#F270CA is a light, vivid pink. Relative luminance 0.347; OKLCH L 72.7% C 0.189 H 340.8°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#F270CA
RGBrgb(242, 112, 202)
HSLhsl(318, 83%, 69%)
HSVhsv(318, 54%, 95%)
CMYKcmyk(0%, 53.7%, 16.5%, 5.1%)
CIE-LABlab(65.54, 60.26, -23.17)
CIE-LCHlch(65.54, 64.57, 338.97°)
OKLaboklab(72.75% 0.1783 -0.062)
OKLCHoklch(72.75% 0.189 340.8)
XYZxyz(53.0737, 34.7341, 59.7747)
Luminance0.3473 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F270CA #70F298
analogous
#D970F2 #F270CA #F27089
triadic
#F270CA #CAF270 #70CAF2
tetradic
#F270CA #F2D970 #70F298 #7089F2
square
#F270CA #F2D970 #70F298 #7089F2
split-complementary
#F270CA #89F270 #70F2D9
monochromatic
#D41399 #ED38B5 #F270CA #F7A8DF #FCE0F4

Accessibility & contrast

On white

2.64
#F270CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#F270CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F270CA
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F270CA#FFFFFF#000000##000000
##F270CA1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7792CD
Deuteranopia (green-blind)
#9CA7C7
Tritanopia (blue-blind)
#FF7294
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f270ca;
/* rgb */ color: rgb(242, 112, 202);
/* oklch */ color: oklch(72.7% 0.189 340.8);
Tailwind
colors: {
  custom: {
    50: '#f99eda',
    500: '#f270ca',
    950: '#000000',
  },
}
SCSS
$custom: #f270ca;
$custom-light: #f99eda;
$custom-dark: #000000;
JSON
{
  "hex": "#f270ca",
  "rgb": {
    "r": 242,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 318.462,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72748,
    "c": 0.18881,
    "h": 340.8
  },
  "luminance": 0.3473
}

Semantic roles & 50–950 ramp

primary
#F270CA
secondary
#CCF2D8
accent
#E04906
background
#FFFAFD
surface
#FFF3FA
border
#D7CDD3
text
#180F14
muted
#867F83

Preview Lab

Preview with #F270CA

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

Preview Lab → · Contrast checker → · Palette generator →

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