#F262B7#F262B7

#F262B7 is a light, vivid pink. Relative luminance 0.310; OKLCH L 70.3% C 0.198 H 346.9°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#F262B7
RGBrgb(242, 98, 183)
HSLhsl(325, 85%, 67%)
HSVhsv(325, 60%, 95%)
CMYKcmyk(0%, 59.5%, 24.4%, 5.1%)
CIE-LABlab(62.54, 63.84, -16.99)
CIE-LCHlch(62.54, 66.07, 345.10°)
OKLaboklab(70.3% 0.1926 -0.0448)
OKLCHoklch(70.3% 0.198 346.9)
XYZxyz(49.5346, 31.0362, 48.1724)
Luminance0.3103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F262B7 #62F29D
analogous
#E562F2 #F262B7 #F2626F
triadic
#F262B7 #B7F262 #62B7F2
tetradic
#F262B7 #F2E562 #62F29D #626FF2
square
#F262B7 #F2E562 #62F29D #626FF2
split-complementary
#F262B7 #6FF262 #62F2E5
monochromatic
#C9117D #ED299D #F262B7 #F79BD1 #FBD3EB

Accessibility & contrast

On white

2.91
#F262B7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#F262B7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F262B7
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F262B7#FFFFFF#000000##000000
##F262B71.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7288BA
Deuteranopia (green-blind)
#9AA0B3
Tritanopia (blue-blind)
#FF5F84
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f262b7;
/* rgb */ color: rgb(242, 98, 183);
/* oklch */ color: oklch(70.3% 0.198 346.9);
Tailwind
colors: {
  custom: {
    50: '#fa96cc',
    500: '#f262b7',
    950: '#000000',
  },
}
SCSS
$custom: #f262b7;
$custom-light: #fa96cc;
$custom-dark: #000000;
JSON
{
  "hex": "#f262b7",
  "rgb": {
    "r": 242,
    "g": 98,
    "b": 183
  },
  "hsl": {
    "h": 324.583,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70299,
    "c": 0.19769,
    "h": 346.9
  },
  "luminance": 0.31032
}

Semantic roles & 50–950 ramp

primary
#F262B7
secondary
#C1EFD4
accent
#E15F04
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#180E13
muted
#867E82

Preview Lab

Preview with #F262B7

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

Preview Lab → · Contrast checker → · Palette generator →

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