#F170A1#F170A1

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

Color values

HEX#F170A1
RGBrgb(241, 112, 161)
HSLhsl(337, 82%, 69%)
HSVhsv(337, 54%, 95%)
CMYKcmyk(0%, 53.5%, 33.2%, 5.5%)
CIE-LABlab(64.05, 54.51, -2.17)
CIE-LCHlch(64.05, 54.55, 357.72°)
OKLaboklab(71.17% 0.1658 -0.005)
OKLCHoklch(71.17% 0.166 358.3)
XYZxyz(48.5052, 32.8671, 37.5008)
Luminance0.3286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F170A1 #70F1C0
analogous
#F170E2 #F170A1 #F18070
triadic
#F170A1 #A1F170 #70A1F1
tetradic
#F170A1 #E2F170 #70F1C0 #8070F1
square
#F170A1 #E2F170 #70F1C0 #8070F1
split-complementary
#F170A1 #70F180 #70E2F1
monochromatic
#D2155D #EC387C #F170A1 #F6A8C6 #FCDFEA

Accessibility & contrast

On white

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

On black

7.57
#F170A1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F170A1
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F170A1#FFFFFF#000000##000000
##F170A11.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#848CA2
Deuteranopia (green-blind)
#A6A49E
Tritanopia (blue-blind)
#FF6782
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #f170a1;
/* rgb */ color: rgb(241, 112, 161);
/* oklch */ color: oklch(71.2% 0.166 358.3);
Tailwind
colors: {
  custom: {
    50: '#f99dbc',
    500: '#f170a1',
    950: '#000000',
  },
}
SCSS
$custom: #f170a1;
$custom-light: #f99dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#f170a1",
  "rgb": {
    "r": 241,
    "g": 112,
    "b": 161
  },
  "hsl": {
    "h": 337.209,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71167,
    "c": 0.16587,
    "h": 358.3
  },
  "luminance": 0.32862
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F170A1

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

Preview Lab → · Contrast checker → · Palette generator →

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