#7F295C#7F295C

#7F295C is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.7% C 0.131 H 347.5°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#7F295C
RGBrgb(127, 41, 92)
HSLhsl(324, 51%, 33%)
HSVhsv(324, 68%, 50%)
CMYKcmyk(0%, 67.7%, 27.6%, 50.2%)
CIE-LABlab(31.51, 42.34, -10.79)
CIE-LCHlch(31.51, 43.69, 345.70°)
OKLaboklab(42.69% 0.1283 -0.0284)
OKLCHoklch(42.69% 0.131 347.5)
XYZxyz(11.4776, 6.8718, 10.8451)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F295C #297F4C
analogous
#77297F #7F295C #7F2931
triadic
#7F295C #5C7F29 #295C7F
tetradic
#7F295C #7F7729 #297F4C #29317F
square
#7F295C #7F7729 #297F4C #29317F
split-complementary
#7F295C #317F29 #297F77
monochromatic
#220B19 #511A3A #7F295C #AD387E #C9599C

Accessibility & contrast

On white

8.85
#7F295C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F295C
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F295C#FFFFFF#000000##FFFFFF
##7F295C1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34415E
Deuteranopia (green-blind)
#4C505A
Tritanopia (blue-blind)
#88263E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f295c;
/* rgb */ color: rgb(127, 41, 92);
/* oklch */ color: oklch(42.7% 0.131 347.5);
Tailwind
colors: {
  custom: {
    50: '#a7698a',
    500: '#7f295c',
    950: '#000000',
  },
}
SCSS
$custom: #7f295c;
$custom-light: #a7698a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f295c",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 92
  },
  "hsl": {
    "h": 324.419,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42689,
    "c": 0.13137,
    "h": 347.5
  },
  "luminance": 0.06871
}

Semantic roles & 50–950 ramp

primary
#7F295C
secondary
#55AF7A
accent
#DB874D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7F295C

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

Preview Lab → · Contrast checker → · Palette generator →

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