#7F3155#7F3155

#7F3155 is a dark, moderate pink. Relative luminance 0.074; OKLCH L 43.4% C 0.115 H 354.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#7F3155
RGBrgb(127, 49, 85)
HSLhsl(332, 44%, 35%)
HSVhsv(332, 61%, 50%)
CMYKcmyk(0%, 61.4%, 33.1%, 50.2%)
CIE-LABlab(32.63, 37.64, -4.58)
CIE-LCHlch(32.63, 37.92, 353.06°)
OKLaboklab(43.43% 0.1146 -0.0116)
OKLCHoklch(43.43% 0.115 354.2)
XYZxyz(11.4910, 7.3657, 9.4091)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3155 #317F5B
analogous
#7F317C #7F3155 #7F3431
triadic
#7F3155 #557F31 #31557F
tetradic
#7F3155 #7C7F31 #317F5B #34317F
square
#7F3155 #7C7F31 #317F5B #34317F
split-complementary
#7F3155 #317F34 #317C7F
monochromatic
#270F1A #532037 #7F3155 #AB4273 #C46692

Accessibility & contrast

On white

8.49
#7F3155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7F3155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F3155
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3155#FFFFFF#000000##FFFFFF
##7F31551.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4456
Deuteranopia (green-blind)
#525253
Tritanopia (blue-blind)
#882C3F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f3155;
/* rgb */ color: rgb(127, 49, 85);
/* oklch */ color: oklch(43.4% 0.115 354.2);
Tailwind
colors: {
  custom: {
    50: '#a76d84',
    500: '#7f3155',
    950: '#000000',
  },
}
SCSS
$custom: #7f3155;
$custom-light: #a76d84;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3155",
  "rgb": {
    "r": 127,
    "g": 49,
    "b": 85
  },
  "hsl": {
    "h": 332.308,
    "s": 44.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43425,
    "c": 0.11515,
    "h": 354.2
  },
  "luminance": 0.07365
}

Semantic roles & 50–950 ramp

primary
#7F3155
secondary
#60AB89
accent
#D49954
background
#FAF6F8
surface
#F4ECEF
border
#CEC7CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7F3155

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

Preview Lab → · Contrast checker → · Palette generator →

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