#7F285E#7F285E

#7F285E is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.134 H 346.1°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#7F285E
RGBrgb(127, 40, 94)
HSLhsl(323, 52%, 33%)
HSVhsv(323, 69%, 50%)
CMYKcmyk(0%, 68.5%, 26%, 50.2%)
CIE-LABlab(31.44, 43.06, -12.20)
CIE-LCHlch(31.44, 44.75, 344.18°)
OKLaboklab(42.66% 0.1301 -0.0323)
OKLCHoklch(42.66% 0.134 346.1)
XYZxyz(11.5320, 6.8389, 11.3002)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F285E #287F49
analogous
#75287F #7F285E #7F2832
triadic
#7F285E #5E7F28 #285E7F
tetradic
#7F285E #7F7528 #287F49 #28327F
square
#7F285E #7F7528 #287F49 #28327F
split-complementary
#7F285E #327F28 #287F75
monochromatic
#220B19 #50193C #7F285E #AE3780 #CA579F

Accessibility & contrast

On white

8.87
#7F285E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7F285E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F285E
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F285E#FFFFFF#000000##FFFFFF
##7F285E1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324160
Deuteranopia (green-blind)
#4B4F5C
Tritanopia (blue-blind)
#88263F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f285e;
/* rgb */ color: rgb(127, 40, 94);
/* oklch */ color: oklch(42.7% 0.134 346.1);
Tailwind
colors: {
  custom: {
    50: '#a7698b',
    500: '#7f285e',
    950: '#000000',
  },
}
SCSS
$custom: #7f285e;
$custom-light: #a7698b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f285e",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 94
  },
  "hsl": {
    "h": 322.759,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4266,
    "c": 0.13407,
    "h": 346.1
  },
  "luminance": 0.06838
}

Semantic roles & 50–950 ramp

primary
#7F285E
secondary
#54AF76
accent
#DC834C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7F285E

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

Preview Lab → · Contrast checker → · Palette generator →

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