#7F2645#7F2645

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

Color values

HEX#7F2645
RGBrgb(127, 38, 69)
HSLhsl(339, 54%, 32%)
HSVhsv(339, 70%, 50%)
CMYKcmyk(0%, 70.1%, 45.7%, 50.2%)
CIE-LABlab(30.23, 40.81, 2.36)
CIE-LCHlch(30.23, 40.88, 3.31°)
OKLaboklab(41.48% 0.1248 0.0065)
OKLCHoklch(41.48% 0.125 3)
XYZxyz(10.5205, 6.3292, 6.2967)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2645 #267F60
analogous
#7F2672 #7F2645 #7F3426
triadic
#7F2645 #457F26 #26457F
tetradic
#7F2645 #727F26 #267F60 #34267F
square
#7F2645 #727F26 #267F60 #34267F
split-complementary
#7F2645 #267F34 #26727F
monochromatic
#210A12 #50182B #7F2645 #AE345F #CC547D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2645#FFFFFF#000000##FFFFFF
##7F26451.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)
#393C46
Deuteranopia (green-blind)
#504E43
Tritanopia (blue-blind)
#8A1A32
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2645;
/* rgb */ color: rgb(127, 38, 69);
/* oklch */ color: oklch(41.5% 0.125 3.0);
Tailwind
colors: {
  custom: {
    50: '#a86778',
    500: '#7f2645',
    950: '#000000',
  },
}
SCSS
$custom: #7f2645;
$custom-light: #a86778;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2645",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 69
  },
  "hsl": {
    "h": 339.101,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41475,
    "c": 0.12495,
    "h": 3
  },
  "luminance": 0.06328
}

Semantic roles & 50–950 ramp

primary
#7F2645
secondary
#51B08F
accent
#DDAA4A
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7F2645

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

Preview Lab → · Contrast checker → · Palette generator →

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