#7F254E#7F254E

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

Color values

HEX#7F254E
RGBrgb(127, 37, 78)
HSLhsl(333, 55%, 32%)
HSVhsv(333, 71%, 50%)
CMYKcmyk(0%, 70.9%, 38.6%, 50.2%)
CIE-LABlab(30.37, 42.24, -3.37)
CIE-LCHlch(30.37, 42.38, 355.44°)
OKLaboklab(41.67% 0.1294 -0.0083)
OKLCHoklch(41.67% 0.13 356.3)
XYZxyz(10.7898, 6.3865, 7.8708)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F254E #257F56
analogous
#7F257B #7F254E #7F2925
triadic
#7F254E #4E7F25 #254E7F
tetradic
#7F254E #7B7F25 #257F56 #29257F
square
#7F254E #7B7F25 #257F56 #29257F
split-complementary
#7F254E #257F29 #257B7F
monochromatic
#200914 #501731 #7F254E #AE336B #CD528A

Accessibility & contrast

On white

9.22
#7F254E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F254E
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F254E#FFFFFF#000000##FFFFFF
##7F254E1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353D4F
Deuteranopia (green-blind)
#4E4E4C
Tritanopia (blue-blind)
#891C36
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f254e;
/* rgb */ color: rgb(127, 37, 78);
/* oklch */ color: oklch(41.7% 0.130 356.3);
Tailwind
colors: {
  custom: {
    50: '#a8677f',
    500: '#7f254e',
    950: '#000000',
  },
}
SCSS
$custom: #7f254e;
$custom-light: #a8677f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f254e",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 332.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41673,
    "c": 0.12963,
    "h": 356.3
  },
  "luminance": 0.06385
}

Semantic roles & 50–950 ramp

primary
#7F254E
secondary
#4FB184
accent
#DE9B4A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F254E

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

Preview Lab → · Contrast checker → · Palette generator →

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