#7F295D#7F295D

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

Color values

HEX#7F295D
RGBrgb(127, 41, 93)
HSLhsl(324, 51%, 33%)
HSVhsv(324, 68%, 50%)
CMYKcmyk(0%, 67.7%, 26.8%, 50.2%)
CIE-LABlab(31.55, 42.48, -11.38)
CIE-LCHlch(31.55, 43.98, 345.01°)
OKLaboklab(42.73% 0.1285 -0.03)
OKLCHoklch(42.73% 0.132 346.9)
XYZxyz(11.5216, 6.8894, 11.0768)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F295D #297F4B
analogous
#76297F #7F295D #7F2932
triadic
#7F295D #5D7F29 #295D7F
tetradic
#7F295D #7F7629 #297F4B #29327F
square
#7F295D #7F7629 #297F4B #29327F
split-complementary
#7F295D #327F29 #297F76
monochromatic
#220B19 #511A3B #7F295D #AD387F #C9599D

Accessibility & contrast

On white

8.83
#7F295D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7F295D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F295D
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F295D#FFFFFF#000000##FFFFFF
##7F295D1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33415F
Deuteranopia (green-blind)
#4C505B
Tritanopia (blue-blind)
#88273F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f295d;
/* rgb */ color: rgb(127, 41, 93);
/* oklch */ color: oklch(42.7% 0.132 346.9);
Tailwind
colors: {
  custom: {
    50: '#a7698b',
    500: '#7f295d',
    950: '#000000',
  },
}
SCSS
$custom: #7f295d;
$custom-light: #a7698b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f295d",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 93
  },
  "hsl": {
    "h": 323.721,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42732,
    "c": 0.13199,
    "h": 346.9
  },
  "luminance": 0.06888
}

Semantic roles & 50–950 ramp

primary
#7F295D
secondary
#55AF79
accent
#DB854D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7F295D

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

Preview Lab → · Contrast checker → · Palette generator →

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