#7F2745#7F2745

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

Color values

HEX#7F2745
RGBrgb(127, 39, 69)
HSLhsl(340, 53%, 33%)
HSVhsv(340, 69%, 50%)
CMYKcmyk(0%, 69.3%, 45.7%, 50.2%)
CIE-LABlab(30.39, 40.38, 2.59)
CIE-LCHlch(30.39, 40.46, 3.67°)
OKLaboklab(41.59% 0.1234 0.0071)
OKLCHoklch(41.59% 0.124 3.3)
XYZxyz(10.5529, 6.3940, 6.3075)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2745 #277F61
analogous
#7F2771 #7F2745 #7F3527
triadic
#7F2745 #457F27 #27457F
tetradic
#7F2745 #717F27 #277F61 #35277F
square
#7F2745 #717F27 #277F61 #35277F
split-complementary
#7F2745 #277F35 #27717F
monochromatic
#210A12 #50192C #7F2745 #AE355E #CB557E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2745#FFFFFF#000000##FFFFFF
##7F27451.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)
#393D46
Deuteranopia (green-blind)
#514E43
Tritanopia (blue-blind)
#8A1B33
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2745;
/* rgb */ color: rgb(127, 39, 69);
/* oklch */ color: oklch(41.6% 0.124 3.3);
Tailwind
colors: {
  custom: {
    50: '#a86778',
    500: '#7f2745',
    950: '#000000',
  },
}
SCSS
$custom: #7f2745;
$custom-light: #a86778;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2745",
  "rgb": {
    "r": 127,
    "g": 39,
    "b": 69
  },
  "hsl": {
    "h": 339.545,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41591,
    "c": 0.12362,
    "h": 3.3
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

primary
#7F2745
secondary
#52B090
accent
#DCAB4B
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7F2745

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

Preview Lab → · Contrast checker → · Palette generator →

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