#7F285A#7F285A

#7F285A is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.5% C 0.132 H 348.7°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7F285A
RGBrgb(127, 40, 90)
HSLhsl(326, 52%, 33%)
HSVhsv(326, 69%, 50%)
CMYKcmyk(0%, 68.5%, 29.1%, 50.2%)
CIE-LABlab(31.28, 42.50, -9.85)
CIE-LCHlch(31.28, 43.63, 346.95°)
OKLaboklab(42.49% 0.1291 -0.0258)
OKLCHoklch(42.49% 0.132 348.7)
XYZxyz(11.3572, 6.7690, 10.3793)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F285A #287F4D
analogous
#78287F #7F285A #7F282F
triadic
#7F285A #5A7F28 #285A7F
tetradic
#7F285A #7F7828 #287F4D #282F7F
square
#7F285A #7F7828 #287F4D #282F7F
split-complementary
#7F285A #2F7F28 #287F78
monochromatic
#220B18 #501939 #7F285A #AE377B #CA5799

Accessibility & contrast

On white

8.92
#7F285A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7F285A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F285A
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F285A#FFFFFF#000000##FFFFFF
##7F285A1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33405B
Deuteranopia (green-blind)
#4C4F58
Tritanopia (blue-blind)
#88253D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f285a;
/* rgb */ color: rgb(127, 40, 90);
/* oklch */ color: oklch(42.5% 0.132 348.7);
Tailwind
colors: {
  custom: {
    50: '#a76988',
    500: '#7f285a',
    950: '#000000',
  },
}
SCSS
$custom: #7f285a;
$custom-light: #a76988;
$custom-dark: #000000;
JSON
{
  "hex": "#7f285a",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 90
  },
  "hsl": {
    "h": 325.517,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42488,
    "c": 0.13162,
    "h": 348.7
  },
  "luminance": 0.06768
}

Semantic roles & 50–950 ramp

primary
#7F285A
secondary
#54AF7B
accent
#DC894C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7F285A

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

Preview Lab → · Contrast checker → · Palette generator →

#7F285A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva