#7F254F#7F254F

#7F254F is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.7% C 0.130 H 355.6°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#7F254F
RGBrgb(127, 37, 79)
HSLhsl(332, 55%, 32%)
HSVhsv(332, 71%, 50%)
CMYKcmyk(0%, 70.9%, 37.8%, 50.2%)
CIE-LABlab(30.40, 42.36, -3.98)
CIE-LCHlch(30.40, 42.55, 354.64°)
OKLaboklab(41.71% 0.1297 -0.0099)
OKLCHoklch(41.71% 0.13 355.6)
XYZxyz(10.8259, 6.4009, 8.0610)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F254F #257F55
analogous
#7F257C #7F254F #7F2825
triadic
#7F254F #4F7F25 #254F7F
tetradic
#7F254F #7C7F25 #257F55 #28257F
square
#7F254F #7C7F25 #257F55 #28257F
split-complementary
#7F254F #257F28 #257C7F
monochromatic
#200914 #501732 #7F254F #AE336C #CD528B

Accessibility & contrast

On white

9.21
#7F254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7F254F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F254F
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F254F#FFFFFF#000000##FFFFFF
##7F254F1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f254f;
/* rgb */ color: rgb(127, 37, 79);
/* oklch */ color: oklch(41.7% 0.130 355.6);
Tailwind
colors: {
  custom: {
    50: '#a86780',
    500: '#7f254f',
    950: '#000000',
  },
}
SCSS
$custom: #7f254f;
$custom-light: #a86780;
$custom-dark: #000000;
JSON
{
  "hex": "#7f254f",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 332,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4171,
    "c": 0.13007,
    "h": 355.6
  },
  "luminance": 0.064
}

Semantic roles & 50–950 ramp

primary
#7F254F
secondary
#4FB183
accent
#DE994A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F254F

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

Preview Lab → · Contrast checker → · Palette generator →

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