#ED7FA8#ED7FA8

#ED7FA8 is a light, vivid pink. Relative luminance 0.360; OKLCH L 73.0% C 0.142 H 357.5°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#ED7FA8
RGBrgb(237, 127, 168)
HSLhsl(338, 75%, 71%)
HSVhsv(338, 46%, 93%)
CMYKcmyk(0%, 46.4%, 29.1%, 7.1%)
CIE-LABlab(66.53, 46.77, -2.57)
CIE-LCHlch(66.53, 46.84, 356.85°)
OKLaboklab(72.99% 0.1416 -0.0061)
OKLCHoklch(72.99% 0.142 357.5)
XYZxyz(49.5841, 36.0146, 41.3783)
Luminance0.3601 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED7FA8 #7FEDC4
analogous
#ED7FDF #ED7FA8 #ED8D7F
triadic
#ED7FA8 #A8ED7F #7FA8ED
tetradic
#ED7FA8 #DFED7F #7FEDC4 #8D7FED
square
#ED7FA8 #DFED7F #7FEDC4 #8D7FED
split-complementary
#ED7FA8 #7FED8D #7FDFED
monochromatic
#D41E62 #E54984 #ED7FA8 #F5B5CC #FBE4ED

Accessibility & contrast

On white

2.56
#ED7FA8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#ED7FA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED7FA8
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED7FA8#FFFFFF#000000##000000
##ED7FA81.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E95A9
Deuteranopia (green-blind)
#AAA9A5
Tritanopia (blue-blind)
#FC788E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ed7fa8;
/* rgb */ color: rgb(237, 127, 168);
/* oklch */ color: oklch(73.0% 0.142 357.5);
Tailwind
colors: {
  custom: {
    50: '#f5a7c1',
    500: '#ed7fa8',
    950: '#000000',
  },
}
SCSS
$custom: #ed7fa8;
$custom-light: #f5a7c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ed7fa8",
  "rgb": {
    "r": 237,
    "g": 127,
    "b": 168
  },
  "hsl": {
    "h": 337.636,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72985,
    "c": 0.14172,
    "h": 357.5
  },
  "luminance": 0.3601
}

Semantic roles & 50–950 ramp

primary
#ED7FA8
secondary
#D6F2E8
accent
#D88C0E
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#171012
muted
#857F81

Preview Lab

Preview with #ED7FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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