#F170A3#F170A3

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

Color values

HEX#F170A3
RGBrgb(241, 112, 163)
HSLhsl(336, 82%, 69%)
HSVhsv(336, 54%, 95%)
CMYKcmyk(0%, 53.5%, 32.4%, 5.5%)
CIE-LABlab(64.11, 54.75, -3.23)
CIE-LCHlch(64.11, 54.84, 356.63°)
OKLaboklab(71.23% 0.1664 -0.0078)
OKLCHoklch(71.23% 0.167 357.3)
XYZxyz(48.6829, 32.9382, 38.4370)
Luminance0.3293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170A3 #70F1BE
analogous
#F170E4 #F170A3 #F17E70
triadic
#F170A3 #A3F170 #70A3F1
tetradic
#F170A3 #E4F170 #70F1BE #7E70F1
square
#F170A3 #E4F170 #70F1BE #7E70F1
split-complementary
#F170A3 #70F17E #70E4F1
monochromatic
#D2155F #EC387F #F170A3 #F6A8C7 #FCDFEB

Accessibility & contrast

On white

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

On black

7.59
#F170A3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170A3
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170A3#FFFFFF#000000##000000
##F170A31.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f170a3;
/* rgb */ color: rgb(241, 112, 163);
/* oklch */ color: oklch(71.2% 0.167 357.3);
Tailwind
colors: {
  custom: {
    50: '#f99dbe',
    500: '#f170a3',
    950: '#000000',
  },
}
SCSS
$custom: #f170a3;
$custom-light: #f99dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#f170a3",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 163
  },
  "hsl": {
    "h": 336.279,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71229,
    "c": 0.16662,
    "h": 357.3
  },
  "luminance": 0.32933
}

Semantic roles & 50–950 ramp

primary
#F170A3
secondary
#CCF1E2
accent
#DF8907
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180F12
muted
#867E81

Preview Lab

Preview with #F170A3

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

Preview Lab → · Contrast checker → · Palette generator →

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