#7F274F#7F274F

#7F274F is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.9% C 0.127 H 356.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#7F274F
RGBrgb(127, 39, 79)
HSLhsl(333, 53%, 33%)
HSVhsv(333, 69%, 50%)
CMYKcmyk(0%, 69.3%, 37.8%, 50.2%)
CIE-LABlab(30.71, 41.51, -3.52)
CIE-LCHlch(30.71, 41.66, 355.15°)
OKLaboklab(41.94% 0.127 -0.0087)
OKLCHoklch(41.94% 0.127 356.1)
XYZxyz(10.8899, 6.5288, 8.0823)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F274F #277F57
analogous
#7F277B #7F274F #7F2B27
triadic
#7F274F #4F7F27 #274F7F
tetradic
#7F274F #7B7F27 #277F57 #2B277F
square
#7F274F #7B7F27 #277F57 #2B277F
split-complementary
#7F274F #277F2B #277B7F
monochromatic
#210A15 #501932 #7F274F #AE356C #CB558B

Accessibility & contrast

On white

9.11
#7F274F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7F274F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F274F
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F274F#FFFFFF#000000##FFFFFF
##7F274F1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373E50
Deuteranopia (green-blind)
#4F4E4D
Tritanopia (blue-blind)
#891F37
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f274f;
/* rgb */ color: rgb(127, 39, 79);
/* oklch */ color: oklch(41.9% 0.127 356.1);
Tailwind
colors: {
  custom: {
    50: '#a86880',
    500: '#7f274f',
    950: '#000000',
  },
}
SCSS
$custom: #7f274f;
$custom-light: #a86880;
$custom-dark: #000000;
JSON
{
  "hex": "#7f274f",
  "rgb": {
    "r": 127,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 332.727,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41937,
    "c": 0.12732,
    "h": 356.1
  },
  "luminance": 0.06528
}

Semantic roles & 50–950 ramp

primary
#7F274F
secondary
#52B085
accent
#DC9A4B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F274F

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

Preview Lab → · Contrast checker → · Palette generator →

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