#7F285B#7F285B

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

Color values

HEX#7F285B
RGBrgb(127, 40, 91)
HSLhsl(325, 52%, 33%)
HSVhsv(325, 69%, 50%)
CMYKcmyk(0%, 68.5%, 28.3%, 50.2%)
CIE-LABlab(31.31, 42.64, -10.44)
CIE-LCHlch(31.31, 43.90, 346.24°)
OKLaboklab(42.53% 0.1293 -0.0274)
OKLCHoklch(42.53% 0.132 348)
XYZxyz(11.4000, 6.7861, 10.6050)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F285B #287F4C
analogous
#78287F #7F285B #7F282F
triadic
#7F285B #5B7F28 #285B7F
tetradic
#7F285B #7F7828 #287F4C #282F7F
square
#7F285B #7F7828 #287F4C #282F7F
split-complementary
#7F285B #2F7F28 #287F78
monochromatic
#220B18 #50193A #7F285B #AE377C #CA579B

Accessibility & contrast

On white

8.91
#7F285B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F285B
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F285B#FFFFFF#000000##FFFFFF
##7F285B1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f285b;
/* rgb */ color: rgb(127, 40, 91);
/* oklch */ color: oklch(42.5% 0.132 348.0);
Tailwind
colors: {
  custom: {
    50: '#a76989',
    500: '#7f285b',
    950: '#000000',
  },
}
SCSS
$custom: #7f285b;
$custom-light: #a76989;
$custom-dark: #000000;
JSON
{
  "hex": "#7f285b",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 324.828,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4253,
    "c": 0.13221,
    "h": 348
  },
  "luminance": 0.06785
}

Semantic roles & 50–950 ramp

primary
#7F285B
secondary
#54AF7A
accent
#DC884C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7F285B

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

Preview Lab → · Contrast checker → · Palette generator →

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