#7F285C#7F285C

#7F285C is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.133 H 347.4°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#7F285C
RGBrgb(127, 40, 92)
HSLhsl(324, 52%, 33%)
HSVhsv(324, 69%, 50%)
CMYKcmyk(0%, 68.5%, 27.6%, 50.2%)
CIE-LABlab(31.36, 42.78, -11.03)
CIE-LCHlch(31.36, 44.17, 345.54°)
OKLaboklab(42.57% 0.1296 -0.0291)
OKLCHoklch(42.57% 0.133 347.4)
XYZxyz(11.4434, 6.8035, 10.8337)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F285C #287F4B
analogous
#76287F #7F285C #7F2830
triadic
#7F285C #5C7F28 #285C7F
tetradic
#7F285C #7F7628 #287F4B #28307F
square
#7F285C #7F7628 #287F4B #28307F
split-complementary
#7F285C #307F28 #287F76
monochromatic
#220B19 #50193A #7F285C #AE377E #CA579C

Accessibility & contrast

On white

8.90
#7F285C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7F285C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F285C
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F285C#FFFFFF#000000##FFFFFF
##7F285C1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33405E
Deuteranopia (green-blind)
#4C4F5A
Tritanopia (blue-blind)
#88253E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f285c;
/* rgb */ color: rgb(127, 40, 92);
/* oklch */ color: oklch(42.6% 0.133 347.4);
Tailwind
colors: {
  custom: {
    50: '#a7698a',
    500: '#7f285c',
    950: '#000000',
  },
}
SCSS
$custom: #7f285c;
$custom-light: #a7698a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f285c",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 92
  },
  "hsl": {
    "h": 324.138,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42573,
    "c": 0.13282,
    "h": 347.4
  },
  "luminance": 0.06802
}

Semantic roles & 50–950 ramp

primary
#7F285C
secondary
#54AF78
accent
#DC864C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7F285C

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

Preview Lab → · Contrast checker → · Palette generator →

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