#F262A7#F262A7

#F262A7 is a light, vivid pink. Relative luminance 0.304; OKLCH L 69.7% C 0.189 H 353.3°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#F262A7
RGBrgb(242, 98, 167)
HSLhsl(331, 85%, 67%)
HSVhsv(331, 60%, 95%)
CMYKcmyk(0%, 59.5%, 31%, 5.1%)
CIE-LABlab(62.00, 61.84, -8.62)
CIE-LCHlch(62.00, 62.44, 352.06°)
OKLaboklab(69.73% 0.1882 -0.022)
OKLCHoklch(69.73% 0.189 353.3)
XYZxyz(47.9630, 30.4076, 39.8950)
Luminance0.3040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F262A7 #62F2AD
analogous
#F262EF #F262A7 #F26562
triadic
#F262A7 #A7F262 #62A7F2
tetradic
#F262A7 #EFF262 #62F2AD #6562F2
square
#F262A7 #EFF262 #62F2AD #6562F2
split-complementary
#F262A7 #62F265 #62EFF2
monochromatic
#C91169 #ED2987 #F262A7 #F79BC7 #FBD3E6

Accessibility & contrast

On white

2.97
#F262A7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#F262A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F262A7
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F262A7#FFFFFF#000000##000000
##F262A71.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7785A9
Deuteranopia (green-blind)
#9EA0A4
Tritanopia (blue-blind)
#FF5A7D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f262a7;
/* rgb */ color: rgb(242, 98, 167);
/* oklch */ color: oklch(69.7% 0.189 353.3);
Tailwind
colors: {
  custom: {
    50: '#fa95c1',
    500: '#f262a7',
    950: '#000000',
  },
}
SCSS
$custom: #f262a7;
$custom-light: #fa95c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f262a7",
  "rgb": {
    "r": 242,
    "g": 98,
    "b": 167
  },
  "hsl": {
    "h": 331.25,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69728,
    "c": 0.18948,
    "h": 353.3
  },
  "luminance": 0.30403
}

Semantic roles & 50–950 ramp

primary
#F262A7
secondary
#C1EFD9
accent
#E17704
background
#FFF9FB
surface
#FFF2F7
border
#D7CCD0
text
#180E12
muted
#867E81

Preview Lab

Preview with #F262A7

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

Preview Lab → · Contrast checker → · Palette generator →

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