#7F2955#7F2955

#7F2955 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.4% C 0.127 H 352.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#7F2955
RGBrgb(127, 41, 85)
HSLhsl(329, 51%, 33%)
HSVhsv(329, 68%, 50%)
CMYKcmyk(0%, 67.7%, 33.1%, 50.2%)
CIE-LABlab(31.24, 41.39, -6.65)
CIE-LCHlch(31.24, 41.92, 350.87°)
OKLaboklab(42.4% 0.1262 -0.0171)
OKLCHoklch(42.4% 0.127 352.3)
XYZxyz(11.1856, 6.7550, 9.3073)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2955 #297F53
analogous
#7E297F #7F2955 #7F292A
triadic
#7F2955 #557F29 #29557F
tetradic
#7F2955 #7F7E29 #297F53 #292A7F
square
#7F2955 #7F7E29 #297F53 #292A7F
split-complementary
#7F2955 #2A7F29 #297F7E
monochromatic
#220B17 #511A36 #7F2955 #AD3874 #C95993

Accessibility & contrast

On white

8.93
#7F2955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7F2955 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2955
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2955#FFFFFF#000000##FFFFFF
##7F29551.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364056
Deuteranopia (green-blind)
#4E4F53
Tritanopia (blue-blind)
#89243B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2955;
/* rgb */ color: rgb(127, 41, 85);
/* oklch */ color: oklch(42.4% 0.127 352.3);
Tailwind
colors: {
  custom: {
    50: '#a76984',
    500: '#7f2955',
    950: '#000000',
  },
}
SCSS
$custom: #7f2955;
$custom-light: #a76984;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2955",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 85
  },
  "hsl": {
    "h": 329.302,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42401,
    "c": 0.12739,
    "h": 352.3
  },
  "luminance": 0.06754
}

Semantic roles & 50–950 ramp

primary
#7F2955
secondary
#55AF81
accent
#DB924D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7F2955

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

Preview Lab → · Contrast checker → · Palette generator →

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