#7F283F#7F283F

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

Color values

HEX#7F283F
RGBrgb(127, 40, 63)
HSLhsl(344, 52%, 33%)
HSVhsv(344, 69%, 50%)
CMYKcmyk(0%, 68.5%, 50.4%, 50.2%)
CIE-LABlab(30.38, 39.33, 6.54)
CIE-LCHlch(30.38, 39.87, 9.44°)
OKLaboklab(41.53% 0.1196 0.017)
OKLCHoklch(41.53% 0.121 8.1)
XYZxyz(10.4092, 6.3898, 5.3869)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F283F #287F68
analogous
#7F286A #7F283F #7F3C28
triadic
#7F283F #3F7F28 #283F7F
tetradic
#7F283F #6A7F28 #287F68 #3C287F
square
#7F283F #6A7F28 #287F68 #3C287F
split-complementary
#7F283F #287F3C #286A7F
monochromatic
#220B11 #501928 #7F283F #AE3756 #CA5776

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F283F#FFFFFF#000000##FFFFFF
##7F283F1.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)
#3C3C3F
Deuteranopia (green-blind)
#524E3D
Tritanopia (blue-blind)
#8A1A31
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f283f;
/* rgb */ color: rgb(127, 40, 63);
/* oklch */ color: oklch(41.5% 0.121 8.1);
Tailwind
colors: {
  custom: {
    50: '#a96873',
    500: '#7f283f',
    950: '#000000',
  },
}
SCSS
$custom: #7f283f;
$custom-light: #a96873;
$custom-dark: #000000;
JSON
{
  "hex": "#7f283f",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 63
  },
  "hsl": {
    "h": 344.138,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41528,
    "c": 0.12083,
    "h": 8.1
  },
  "luminance": 0.06388
}

Semantic roles & 50–950 ramp

primary
#7F283F
secondary
#54AF97
accent
#DCB64C
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7F283F

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

Preview Lab → · Contrast checker → · Palette generator →

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