#7F2945#7F2945

#7F2945 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.8% C 0.121 H 3.9°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#7F2945
RGBrgb(127, 41, 69)
HSLhsl(340, 51%, 33%)
HSVhsv(340, 68%, 50%)
CMYKcmyk(0%, 67.7%, 45.7%, 50.2%)
CIE-LABlab(30.71, 39.49, 3.06)
CIE-LCHlch(30.71, 39.61, 4.42°)
OKLaboklab(41.83% 0.1206 0.0083)
OKLCHoklch(41.83% 0.121 3.9)
XYZxyz(10.6203, 6.5289, 6.3300)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2945 #297F63
analogous
#7F2970 #7F2945 #7F3829
triadic
#7F2945 #457F29 #29457F
tetradic
#7F2945 #707F29 #297F63 #38297F
square
#7F2945 #707F29 #297F63 #38297F
split-complementary
#7F2945 #297F38 #29707F
monochromatic
#220B13 #511A2C #7F2945 #AD385E #C9597E

Accessibility & contrast

On white

9.11
#7F2945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2945
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2945#FFFFFF#000000##FFFFFF
##7F29451.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3E46
Deuteranopia (green-blind)
#524E43
Tritanopia (blue-blind)
#8A1E34
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2945;
/* rgb */ color: rgb(127, 41, 69);
/* oklch */ color: oklch(41.8% 0.121 3.9);
Tailwind
colors: {
  custom: {
    50: '#a86878',
    500: '#7f2945',
    950: '#000000',
  },
}
SCSS
$custom: #7f2945;
$custom-light: #a86878;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2945",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 69
  },
  "hsl": {
    "h": 340.465,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41832,
    "c": 0.12089,
    "h": 3.9
  },
  "luminance": 0.06528
}

Semantic roles & 50–950 ramp

primary
#7F2945
secondary
#55AF92
accent
#DBAD4D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7F2945

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

Preview Lab → · Contrast checker → · Palette generator →

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