#7F284D#7F284D

#7F284D is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.0% C 0.125 H 357.7°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#7F284D
RGBrgb(127, 40, 77)
HSLhsl(334, 52%, 33%)
HSVhsv(334, 69%, 50%)
CMYKcmyk(0%, 68.5%, 39.4%, 50.2%)
CIE-LABlab(30.80, 40.84, -2.07)
CIE-LCHlch(30.80, 40.89, 357.09°)
OKLaboklab(41.98% 0.125 -0.0049)
OKLCHoklch(41.98% 0.125 357.7)
XYZxyz(10.8514, 6.5667, 7.7158)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F284D #287F5A
analogous
#7F2878 #7F284D #7F2F28
triadic
#7F284D #4D7F28 #284D7F
tetradic
#7F284D #787F28 #287F5A #2F287F
square
#7F284D #787F28 #287F5A #2F287F
split-complementary
#7F284D #287F2F #28787F
monochromatic
#220B15 #501931 #7F284D #AE3769 #CA5788

Accessibility & contrast

On white

9.08
#7F284D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7F284D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F284D
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F284D#FFFFFF#000000##FFFFFF
##7F284D1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383E4E
Deuteranopia (green-blind)
#504F4B
Tritanopia (blue-blind)
#891F37
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f284d;
/* rgb */ color: rgb(127, 40, 77);
/* oklch */ color: oklch(42.0% 0.125 357.7);
Tailwind
colors: {
  custom: {
    50: '#a8687e',
    500: '#7f284d',
    950: '#000000',
  },
}
SCSS
$custom: #7f284d;
$custom-light: #a8687e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f284d",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 77
  },
  "hsl": {
    "h": 334.483,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41981,
    "c": 0.12507,
    "h": 357.7
  },
  "luminance": 0.06565
}

Semantic roles & 50–950 ramp

primary
#7F284D
secondary
#54AF88
accent
#DC9F4C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F284D

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

Preview Lab → · Contrast checker → · Palette generator →

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