#7F274B#7F274B

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

Color values

HEX#7F274B
RGBrgb(127, 39, 75)
HSLhsl(335, 53%, 33%)
HSVhsv(335, 69%, 50%)
CMYKcmyk(0%, 69.3%, 40.9%, 50.2%)
CIE-LABlab(30.57, 41.04, -1.09)
CIE-LCHlch(30.57, 41.06, 358.48°)
OKLaboklab(41.79% 0.1256 -0.0023)
OKLCHoklch(41.79% 0.126 358.9)
XYZxyz(10.7486, 6.4723, 7.3385)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F274B #277F5B
analogous
#7F2777 #7F274B #7F2F27
triadic
#7F274B #4B7F27 #274B7F
tetradic
#7F274B #777F27 #277F5B #2F277F
square
#7F274B #777F27 #277F5B #2F277F
split-complementary
#7F274B #277F2F #27777F
monochromatic
#210A14 #50192F #7F274B #AE3567 #CB5586

Accessibility & contrast

On white

9.15
#7F274B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7F274B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F274B
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F274B#FFFFFF#000000##FFFFFF
##7F274B1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383D4C
Deuteranopia (green-blind)
#504E49
Tritanopia (blue-blind)
#8A1D36
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f274b;
/* rgb */ color: rgb(127, 39, 75);
/* oklch */ color: oklch(41.8% 0.126 358.9);
Tailwind
colors: {
  custom: {
    50: '#a8687d',
    500: '#7f274b',
    950: '#000000',
  },
}
SCSS
$custom: #7f274b;
$custom-light: #a8687d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f274b",
  "rgb": {
    "r": 127,
    "g": 39,
    "b": 75
  },
  "hsl": {
    "h": 335.455,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41793,
    "c": 0.12565,
    "h": 358.9
  },
  "luminance": 0.06471
}

Semantic roles & 50–950 ramp

primary
#7F274B
secondary
#52B089
accent
#DCA14B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7F274B

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

Preview Lab → · Contrast checker → · Palette generator →

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