#7F294B#7F294B

#7F294B is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.0% C 0.123 H 359.5°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#7F294B
RGBrgb(127, 41, 75)
HSLhsl(336, 51%, 33%)
HSVhsv(336, 68%, 50%)
CMYKcmyk(0%, 67.7%, 40.9%, 50.2%)
CIE-LABlab(30.90, 40.16, -0.62)
CIE-LCHlch(30.90, 40.17, 359.12°)
OKLaboklab(42.03% 0.1229 -0.0011)
OKLCHoklch(42.03% 0.123 359.5)
XYZxyz(10.8160, 6.6072, 7.3610)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F294B #297F5D
analogous
#7F2976 #7F294B #7F3229
triadic
#7F294B #4B7F29 #294B7F
tetradic
#7F294B #767F29 #297F5D #32297F
square
#7F294B #767F29 #297F5D #32297F
split-complementary
#7F294B #297F32 #29767F
monochromatic
#220B14 #511A30 #7F294B #AD3866 #C95985

Accessibility & contrast

On white

9.05
#7F294B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7F294B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F294B
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F294B#FFFFFF#000000##FFFFFF
##7F294B1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393E4C
Deuteranopia (green-blind)
#504F49
Tritanopia (blue-blind)
#8A2037
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f294b;
/* rgb */ color: rgb(127, 41, 75);
/* oklch */ color: oklch(42.0% 0.123 359.5);
Tailwind
colors: {
  custom: {
    50: '#a8697d',
    500: '#7f294b',
    950: '#000000',
  },
}
SCSS
$custom: #7f294b;
$custom-light: #a8697d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f294b",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 75
  },
  "hsl": {
    "h": 336.279,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42031,
    "c": 0.12286,
    "h": 359.5
  },
  "luminance": 0.06606
}

Semantic roles & 50–950 ramp

primary
#7F294B
secondary
#55AF8B
accent
#DBA34D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7F294B

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

Preview Lab → · Contrast checker → · Palette generator →

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