#7F2145#7F2145

#7F2145 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.131 H 1.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#7F2145
RGBrgb(127, 33, 69)
HSLhsl(337, 59%, 31%)
HSVhsv(337, 74%, 50%)
CMYKcmyk(0%, 74%, 45.7%, 50.2%)
CIE-LABlab(29.49, 42.85, 1.29)
CIE-LCHlch(29.49, 42.87, 1.73°)
OKLaboklab(40.93% 0.1313 0.0038)
OKLCHoklch(40.93% 0.131 1.7)
XYZxyz(10.3712, 6.0307, 6.2470)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2145 #217F5B
analogous
#7F2174 #7F2145 #7F2C21
triadic
#7F2145 #457F21 #21457F
tetradic
#7F2145 #747F21 #217F5B #2C217F
square
#7F2145 #747F21 #217F5B #2C217F
split-complementary
#7F2145 #217F2C #21747F
monochromatic
#1E0810 #4E142B #7F2145 #B02E5F #D04A7E

Accessibility & contrast

On white

9.52
#7F2145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7F2145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2145
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2145#FFFFFF#000000##FFFFFF
##7F21451.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353A46
Deuteranopia (green-blind)
#4F4C43
Tritanopia (blue-blind)
#8A1330
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f2145;
/* rgb */ color: rgb(127, 33, 69);
/* oklch */ color: oklch(40.9% 0.131 1.7);
Tailwind
colors: {
  custom: {
    50: '#a96478',
    500: '#7f2145',
    950: '#000000',
  },
}
SCSS
$custom: #7f2145;
$custom-light: #a96478;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2145",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 337.021,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40929,
    "c": 0.13135,
    "h": 1.7
  },
  "luminance": 0.06029
}

Semantic roles & 50–950 ramp

primary
#7F2145
secondary
#4AB28A
accent
#E2A646
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7F2145

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

Preview Lab → · Contrast checker → · Palette generator →

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