#7F274E#7F274E

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

Color values

HEX#7F274E
RGBrgb(127, 39, 78)
HSLhsl(333, 53%, 33%)
HSVhsv(333, 69%, 50%)
CMYKcmyk(0%, 69.3%, 38.6%, 50.2%)
CIE-LABlab(30.67, 41.39, -2.91)
CIE-LCHlch(30.67, 41.49, 355.97°)
OKLaboklab(41.9% 0.1267 -0.0071)
OKLCHoklch(41.9% 0.127 356.8)
XYZxyz(10.8537, 6.5144, 7.8921)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F274E #277F58
analogous
#7F277A #7F274E #7F2C27
triadic
#7F274E #4E7F27 #274E7F
tetradic
#7F274E #7A7F27 #277F58 #2C277F
square
#7F274E #7A7F27 #277F58 #2C277F
split-complementary
#7F274E #277F2C #277A7F
monochromatic
#210A14 #501931 #7F274E #AE356B #CB558A

Accessibility & contrast

On white

9.12
#7F274E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F274E
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F274E#FFFFFF#000000##FFFFFF
##7F274E1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f274e;
/* rgb */ color: rgb(127, 39, 78);
/* oklch */ color: oklch(41.9% 0.127 356.8);
Tailwind
colors: {
  custom: {
    50: '#a8687f',
    500: '#7f274e',
    950: '#000000',
  },
}
SCSS
$custom: #7f274e;
$custom-light: #a8687f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f274e",
  "rgb": {
    "r": 127,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 333.409,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.419,
    "c": 0.12688,
    "h": 356.8
  },
  "luminance": 0.06513
}

Semantic roles & 50–950 ramp

primary
#7F274E
secondary
#52B086
accent
#DC9C4B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F274E

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

Preview Lab → · Contrast checker → · Palette generator →

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