#F170A2#F170A2

#F170A2 is a light, vivid pink. Relative luminance 0.329; OKLCH L 71.2% C 0.166 H 357.8°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#F170A2
RGBrgb(241, 112, 162)
HSLhsl(337, 82%, 69%)
HSVhsv(337, 54%, 95%)
CMYKcmyk(0%, 53.5%, 32.8%, 5.5%)
CIE-LABlab(64.08, 54.63, -2.70)
CIE-LCHlch(64.08, 54.69, 357.17°)
OKLaboklab(71.2% 0.1661 -0.0064)
OKLCHoklch(71.2% 0.166 357.8)
XYZxyz(48.5937, 32.9025, 37.9670)
Luminance0.3290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170A2 #70F1BF
analogous
#F170E3 #F170A2 #F17F70
triadic
#F170A2 #A2F170 #70A2F1
tetradic
#F170A2 #E3F170 #70F1BF #7F70F1
square
#F170A2 #E3F170 #70F1BF #7F70F1
split-complementary
#F170A2 #70F17F #70E3F1
monochromatic
#D2155E #EC387E #F170A2 #F6A8C6 #FCDFEB

Accessibility & contrast

On white

2.77
#F170A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#F170A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170A2
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170A2#FFFFFF#000000##000000
##F170A21.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#848CA4
Deuteranopia (green-blind)
#A6A49F
Tritanopia (blue-blind)
#FF6783
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #f170a2;
/* rgb */ color: rgb(241, 112, 162);
/* oklch */ color: oklch(71.2% 0.166 357.8);
Tailwind
colors: {
  custom: {
    50: '#f99dbd',
    500: '#f170a2',
    950: '#000000',
  },
}
SCSS
$custom: #f170a2;
$custom-light: #f99dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#f170a2",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 162
  },
  "hsl": {
    "h": 336.744,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71198,
    "c": 0.16623,
    "h": 357.8
  },
  "luminance": 0.32898
}

Semantic roles & 50–950 ramp

primary
#F170A2
secondary
#CCF1E3
accent
#DF8B07
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180F12
muted
#867E81

Preview Lab

Preview with #F170A2

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

Preview Lab → · Contrast checker → · Palette generator →

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