#7F254A#7F254A

#7F254A is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.5% C 0.128 H 359.1°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#7F254A
RGBrgb(127, 37, 74)
HSLhsl(335, 55%, 32%)
HSVhsv(335, 71%, 50%)
CMYKcmyk(0%, 70.9%, 41.7%, 50.2%)
CIE-LABlab(30.23, 41.78, -0.93)
CIE-LCHlch(30.23, 41.79, 358.72°)
OKLaboklab(41.53% 0.128 -0.0019)
OKLCHoklch(41.53% 0.128 359.1)
XYZxyz(10.6507, 6.3309, 7.1383)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F254A #257F5A
analogous
#7F2577 #7F254A #7F2D25
triadic
#7F254A #4A7F25 #254A7F
tetradic
#7F254A #777F25 #257F5A #2D257F
square
#7F254A #777F25 #257F5A #2D257F
split-complementary
#7F254A #257F2D #25777F
monochromatic
#200913 #50172E #7F254A #AE3366 #CD5284

Accessibility & contrast

On white

9.27
#7F254A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7F254A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F254A
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F254A#FFFFFF#000000##FFFFFF
##7F254A1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373C4B
Deuteranopia (green-blind)
#4F4D48
Tritanopia (blue-blind)
#8A1B34
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f254a;
/* rgb */ color: rgb(127, 37, 74);
/* oklch */ color: oklch(41.5% 0.128 359.1);
Tailwind
colors: {
  custom: {
    50: '#a8677c',
    500: '#7f254a',
    950: '#000000',
  },
}
SCSS
$custom: #7f254a;
$custom-light: #a8677c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f254a",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 74
  },
  "hsl": {
    "h": 335.333,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41529,
    "c": 0.12798,
    "h": 359.1
  },
  "luminance": 0.0633
}

Semantic roles & 50–950 ramp

primary
#7F254A
secondary
#4FB189
accent
#DEA14A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7F254A

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

Preview Lab → · Contrast checker → · Palette generator →

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