#7F294D#7F294D

#7F294D is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.1% C 0.124 H 358.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#7F294D
RGBrgb(127, 41, 77)
HSLhsl(335, 51%, 33%)
HSVhsv(335, 68%, 50%)
CMYKcmyk(0%, 67.7%, 39.4%, 50.2%)
CIE-LABlab(30.96, 40.40, -1.84)
CIE-LCHlch(30.96, 40.44, 357.40°)
OKLaboklab(42.1% 0.1236 -0.0043)
OKLCHoklch(42.1% 0.124 358)
XYZxyz(10.8856, 6.6350, 7.7272)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F294D #297F5B
analogous
#7F2978 #7F294D #7F3029
triadic
#7F294D #4D7F29 #294D7F
tetradic
#7F294D #787F29 #297F5B #30297F
square
#7F294D #787F29 #297F5B #30297F
split-complementary
#7F294D #297F30 #29787F
monochromatic
#220B15 #511A31 #7F294D #AD3869 #C95988

Accessibility & contrast

On white

9.03
#7F294D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7F294D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F294D
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F294D#FFFFFF#000000##FFFFFF
##7F294D1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393F4E
Deuteranopia (green-blind)
#504F4B
Tritanopia (blue-blind)
#892138
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f294d;
/* rgb */ color: rgb(127, 41, 77);
/* oklch */ color: oklch(42.1% 0.124 358.0);
Tailwind
colors: {
  custom: {
    50: '#a8697e',
    500: '#7f294d',
    950: '#000000',
  },
}
SCSS
$custom: #7f294d;
$custom-light: #a8697e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f294d",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 77
  },
  "hsl": {
    "h": 334.884,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42101,
    "c": 0.12365,
    "h": 358
  },
  "luminance": 0.06634
}

Semantic roles & 50–950 ramp

primary
#7F294D
secondary
#55AF89
accent
#DB9F4D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7F294D

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

Preview Lab → · Contrast checker → · Palette generator →

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