#F26287#F26287

#F26287 is a light, vivid pink. Relative luminance 0.294; OKLCH L 68.8% C 0.179 H 7.2°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#F26287
RGBrgb(242, 98, 135)
HSLhsl(345, 85%, 67%)
HSVhsv(345, 60%, 95%)
CMYKcmyk(0%, 59.5%, 44.2%, 5.1%)
CIE-LABlab(61.10, 58.39, 8.55)
CIE-LCHlch(61.10, 59.02, 8.33°)
OKLaboklab(68.76% 0.1777 0.0225)
OKLCHoklch(68.76% 0.179 7.2)
XYZxyz(45.3620, 29.3672, 26.1966)
Luminance0.2936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F26287 #62F2CD
analogous
#F262CF #F26287 #F28562
triadic
#F26287 #87F262 #6287F2
tetradic
#F26287 #CFF262 #62F2CD #8562F2
square
#F26287 #CFF262 #62F2CD #8562F2
split-complementary
#F26287 #62F285 #62CFF2
monochromatic
#C91140 #ED295C #F26287 #F79BB2 #FBD3DD

Accessibility & contrast

On white

3.06
#F26287 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#F26287 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F26287
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F26287#FFFFFF#000000##000000
##F262871.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#808288
Deuteranopia (green-blind)
#A59E84
Tritanopia (blue-blind)
#FF5070
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #f26287;
/* rgb */ color: rgb(242, 98, 135);
/* oklch */ color: oklch(68.8% 0.179 7.2);
Tailwind
colors: {
  custom: {
    50: '#fb95a9',
    500: '#f26287',
    950: '#000000',
  },
}
SCSS
$custom: #f26287;
$custom-light: #fb95a9;
$custom-dark: #000000;
JSON
{
  "hex": "#f26287",
  "rgb": {
    "r": 242,
    "g": 98,
    "b": 135
  },
  "hsl": {
    "h": 344.583,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68762,
    "c": 0.17908,
    "h": 7.2
  },
  "luminance": 0.29362
}

Semantic roles & 50–950 ramp

primary
#F26287
secondary
#C1EFE3
accent
#E1A804
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180E0F
muted
#867E7F

Preview Lab

Preview with #F26287

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

Preview Lab → · Contrast checker → · Palette generator →

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