#7F274C#7F274C

#7F274C is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.8% C 0.126 H 358.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#7F274C
RGBrgb(127, 39, 76)
HSLhsl(335, 53%, 33%)
HSVhsv(335, 69%, 50%)
CMYKcmyk(0%, 69.3%, 40.2%, 50.2%)
CIE-LABlab(30.61, 41.16, -1.70)
CIE-LCHlch(30.61, 41.19, 357.63°)
OKLaboklab(41.83% 0.126 -0.0039)
OKLCHoklch(41.83% 0.126 358.2)
XYZxyz(10.7831, 6.4861, 7.5202)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F274C #277F5A
analogous
#7F2778 #7F274C #7F2E27
triadic
#7F274C #4C7F27 #274C7F
tetradic
#7F274C #787F27 #277F5A #2E277F
square
#7F274C #787F27 #277F5A #2E277F
split-complementary
#7F274C #277F2E #27787F
monochromatic
#210A14 #501930 #7F274C #AE3568 #CB5587

Accessibility & contrast

On white

9.14
#7F274C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7F274C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F274C
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F274C#FFFFFF#000000##FFFFFF
##7F274C1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373E4D
Deuteranopia (green-blind)
#4F4E4A
Tritanopia (blue-blind)
#891E36
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f274c;
/* rgb */ color: rgb(127, 39, 76);
/* oklch */ color: oklch(41.8% 0.126 358.2);
Tailwind
colors: {
  custom: {
    50: '#a8687d',
    500: '#7f274c',
    950: '#000000',
  },
}
SCSS
$custom: #7f274c;
$custom-light: #a8687d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f274c",
  "rgb": {
    "r": 127,
    "g": 39,
    "b": 76
  },
  "hsl": {
    "h": 334.773,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41828,
    "c": 0.12605,
    "h": 358.2
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#7F274C
secondary
#52B088
accent
#DC9F4B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7F274C

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

Preview Lab → · Contrast checker → · Palette generator →

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