#F08EC2#F08EC2

#F08EC2 is a light, vivid pink. Relative luminance 0.418; OKLCH L 76.5% C 0.133 H 347.7°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#F08EC2
RGBrgb(240, 142, 194)
HSLhsl(328, 77%, 75%)
HSVhsv(328, 41%, 94%)
CMYKcmyk(0%, 40.8%, 19.2%, 5.9%)
CIE-LABlab(70.71, 43.77, -10.90)
CIE-LCHlch(70.71, 45.11, 346.01°)
OKLaboklab(76.48% 0.1304 -0.0285)
OKLCHoklch(76.48% 0.133 347.7)
XYZxyz(55.3467, 41.7700, 56.1758)
Luminance0.4177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08EC2 #8EF0BC
analogous
#ED8EF0 #F08EC2 #F08E91
triadic
#F08EC2 #C2F08E #8EC2F0
tetradic
#F08EC2 #F0ED8E #8EF0BC #8E91F0
square
#F08EC2 #F0ED8E #8EF0BC #8E91F0
split-complementary
#F08EC2 #91F08E #8EF0ED
monochromatic
#E22288 #E958A5 #F08EC2 #F7C4DF #FBE4F0

Accessibility & contrast

On white

2.25
#F08EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#F08EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08EC2
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08EC2#FFFFFF#000000##000000
##F08EC21.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A3C4
Deuteranopia (green-blind)
#AFB3BF
Tritanopia (blue-blind)
#FC8CA1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f08ec2;
/* rgb */ color: rgb(240, 142, 194);
/* oklch */ color: oklch(76.5% 0.133 347.7);
Tailwind
colors: {
  custom: {
    50: '#f7b1d4',
    500: '#f08ec2',
    950: '#000000',
  },
}
SCSS
$custom: #f08ec2;
$custom-light: #f7b1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#f08ec2",
  "rgb": {
    "r": 240,
    "g": 142,
    "b": 194
  },
  "hsl": {
    "h": 328.163,
    "s": 76.563,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76479,
    "c": 0.13344,
    "h": 347.7
  },
  "luminance": 0.41766
}

Semantic roles & 50–950 ramp

primary
#F08EC2
secondary
#D8F3E5
accent
#D96D0D
background
#FFFBFD
surface
#FFF6FA
border
#D7D0D3
text
#171114
muted
#858083

Preview Lab

Preview with #F08EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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