#7F295E#7F295E

#7F295E is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.8% C 0.133 H 346.2°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#7F295E
RGBrgb(127, 41, 94)
HSLhsl(323, 51%, 33%)
HSVhsv(323, 68%, 50%)
CMYKcmyk(0%, 67.7%, 26%, 50.2%)
CIE-LABlab(31.59, 42.62, -11.96)
CIE-LCHlch(31.59, 44.27, 344.33°)
OKLaboklab(42.78% 0.1288 -0.0316)
OKLCHoklch(42.78% 0.133 346.2)
XYZxyz(11.5662, 6.9072, 11.3116)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F295E #297F4A
analogous
#75297F #7F295E #7F2933
triadic
#7F295E #5E7F29 #295E7F
tetradic
#7F295E #7F7529 #297F4A #29337F
square
#7F295E #7F7529 #297F4A #29337F
split-complementary
#7F295E #337F29 #297F75
monochromatic
#220B1A #511A3C #7F295E #AD3880 #C9599E

Accessibility & contrast

On white

8.82
#7F295E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F295E
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F295E#FFFFFF#000000##FFFFFF
##7F295E1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f295e;
/* rgb */ color: rgb(127, 41, 94);
/* oklch */ color: oklch(42.8% 0.133 346.2);
Tailwind
colors: {
  custom: {
    50: '#a7698b',
    500: '#7f295e',
    950: '#000000',
  },
}
SCSS
$custom: #7f295e;
$custom-light: #a7698b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f295e",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 94
  },
  "hsl": {
    "h": 323.023,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42776,
    "c": 0.13261,
    "h": 346.2
  },
  "luminance": 0.06906
}

Semantic roles & 50–950 ramp

primary
#7F295E
secondary
#55AF77
accent
#DB834D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7F295E

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

Preview Lab → · Contrast checker → · Palette generator →

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