#7F264F#7F264F

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

Color values

HEX#7F264F
RGBrgb(127, 38, 79)
HSLhsl(332, 54%, 32%)
HSVhsv(332, 70%, 50%)
CMYKcmyk(0%, 70.1%, 37.8%, 50.2%)
CIE-LABlab(30.55, 41.94, -3.75)
CIE-LCHlch(30.55, 42.11, 354.89°)
OKLaboklab(41.82% 0.1284 -0.0093)
OKLCHoklch(41.82% 0.129 355.8)
XYZxyz(10.8575, 6.4640, 8.0715)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F264F #267F56
analogous
#7F267B #7F264F #7F2A26
triadic
#7F264F #4F7F26 #264F7F
tetradic
#7F264F #7B7F26 #267F56 #2A267F
square
#7F264F #7B7F26 #267F56 #2A267F
split-complementary
#7F264F #267F2A #267B7F
monochromatic
#210A14 #501832 #7F264F #AE346C #CC548B

Accessibility & contrast

On white

9.16
#7F264F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F264F
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F264F#FFFFFF#000000##FFFFFF
##7F264F1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363D50
Deuteranopia (green-blind)
#4E4E4D
Tritanopia (blue-blind)
#891E37
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f264f;
/* rgb */ color: rgb(127, 38, 79);
/* oklch */ color: oklch(41.8% 0.129 355.8);
Tailwind
colors: {
  custom: {
    50: '#a86780',
    500: '#7f264f',
    950: '#000000',
  },
}
SCSS
$custom: #7f264f;
$custom-light: #a86780;
$custom-dark: #000000;
JSON
{
  "hex": "#7f264f",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 79
  },
  "hsl": {
    "h": 332.36,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41822,
    "c": 0.12871,
    "h": 355.8
  },
  "luminance": 0.06463
}

Semantic roles & 50–950 ramp

primary
#7F264F
secondary
#51B084
accent
#DD9A4A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F264F

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

Preview Lab → · Contrast checker → · Palette generator →

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