#7F265F#7F265F

#7F265F is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.138 H 345.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#7F265F
RGBrgb(127, 38, 95)
HSLhsl(322, 54%, 32%)
HSVhsv(322, 70%, 50%)
CMYKcmyk(0%, 70.1%, 25.2%, 50.2%)
CIE-LABlab(31.17, 44.05, -13.25)
CIE-LCHlch(31.17, 46.00, 343.26°)
OKLaboklab(42.48% 0.133 -0.0352)
OKLCHoklch(42.48% 0.138 345.2)
XYZxyz(11.5115, 6.7256, 11.5162)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F265F #267F46
analogous
#72267F #7F265F #7F2633
triadic
#7F265F #5F7F26 #265F7F
tetradic
#7F265F #7F7226 #267F46 #26337F
square
#7F265F #7F7226 #267F46 #26337F
split-complementary
#7F265F #337F26 #267F72
monochromatic
#210A19 #50183C #7F265F #AE3482 #CC54A1

Accessibility & contrast

On white

8.96
#7F265F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7F265F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F265F
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F265F#FFFFFF#000000##FFFFFF
##7F265F1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304061
Deuteranopia (green-blind)
#4A4F5D
Tritanopia (blue-blind)
#88253F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f265f;
/* rgb */ color: rgb(127, 38, 95);
/* oklch */ color: oklch(42.5% 0.138 345.2);
Tailwind
colors: {
  custom: {
    50: '#a7688c',
    500: '#7f265f',
    950: '#000000',
  },
}
SCSS
$custom: #7f265f;
$custom-light: #a7688c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f265f",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 95
  },
  "hsl": {
    "h": 321.573,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42481,
    "c": 0.13755,
    "h": 345.2
  },
  "luminance": 0.06724
}

Semantic roles & 50–950 ramp

primary
#7F265F
secondary
#51B073
accent
#DD7F4A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F265F

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

Preview Lab → · Contrast checker → · Palette generator →

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