#F262CF#F262CF

#F262CF is a light, highly saturated pink. Relative luminance 0.321; OKLCH L 71.3% C 0.213 H 338.3°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#F262CF
RGBrgb(242, 98, 207)
HSLhsl(315, 85%, 67%)
HSVhsv(315, 60%, 95%)
CMYKcmyk(0%, 59.5%, 14.5%, 5.1%)
CIE-LABlab(63.44, 67.16, -29.21)
CIE-LCHlch(63.44, 73.24, 336.49°)
OKLaboklab(71.26% 0.1977 -0.0789)
OKLCHoklch(71.26% 0.213 338.3)
XYZxyz(52.2489, 32.1219, 62.4677)
Luminance0.3212 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F262CF #62F285
analogous
#CD62F2 #F262CF #F26287
triadic
#F262CF #CFF262 #62CFF2
tetradic
#F262CF #F2CD62 #62F285 #6287F2
square
#F262CF #F2CD62 #62F285 #6287F2
split-complementary
#F262CF #87F262 #62F2CD
monochromatic
#C9119C #ED29BE #F262CF #F79BE0 #FBD3F2

Accessibility & contrast

On white

2.83
#F262CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#F262CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F262CF
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F262CF#FFFFFF#000000##000000
##F262CF1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD2
Deuteranopia (green-blind)
#92A2CB
Tritanopia (blue-blind)
#FE6790
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #f262cf;
/* rgb */ color: rgb(242, 98, 207);
/* oklch */ color: oklch(71.3% 0.213 338.3);
Tailwind
colors: {
  custom: {
    50: '#fa96de',
    500: '#f262cf',
    950: '#000000',
  },
}
SCSS
$custom: #f262cf;
$custom-light: #fa96de;
$custom-dark: #000000;
JSON
{
  "hex": "#f262cf",
  "rgb": {
    "r": 242,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 314.583,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71263,
    "c": 0.21287,
    "h": 338.3
  },
  "luminance": 0.32118
}

Semantic roles & 50–950 ramp

primary
#F262CF
secondary
#C1EFCC
accent
#E13A04
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #F262CF

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

Preview Lab → · Contrast checker → · Palette generator →

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