#340528#340528

#340528 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.6% C 0.086 H 340.5°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#340528
RGBrgb(52, 5, 40)
HSLhsl(315, 82%, 11%)
HSVhsv(315, 90%, 20%)
CMYKcmyk(0%, 90.4%, 23.1%, 79.6%)
CIE-LABlab(8.92, 27.15, -10.67)
CIE-LCHlch(8.92, 29.17, 338.55°)
OKLaboklab(22.63% 0.0812 -0.0288)
OKLCHoklch(22.63% 0.086 340.5)
XYZxyz(1.8535, 0.9920, 2.1009)
Luminance0.0099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340528 #053411
analogous
#280534 #340528 #340510
triadic
#340528 #283405 #052834
tetradic
#340528 #342805 #053411 #051034
square
#340528 #342805 #053411 #051034
split-complementary
#340528 #103405 #053428
monochromatic
#1C0315 #1C0315 #340528 #6C0A53 #A4107E

Accessibility & contrast

On white

17.52
#340528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#340528 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340528
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340528#FFFFFF#000000##FFFFFF
##3405281.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081429
Deuteranopia (green-blind)
#181C27
Tritanopia (blue-blind)
#380615
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340528;
/* rgb */ color: rgb(52, 5, 40);
/* oklch */ color: oklch(22.6% 0.086 340.5);
Tailwind
colors: {
  custom: {
    50: '#6e4a62',
    500: '#340528',
    950: '#000000',
  },
}
SCSS
$custom: #340528;
$custom-light: #6e4a62;
$custom-dark: #000000;
JSON
{
  "hex": "#340528",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 40
  },
  "hsl": {
    "h": 315.319,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22633,
    "c": 0.08618,
    "h": 340.5
  },
  "luminance": 0.00992
}

Semantic roles & 50–950 ramp

primary
#340528
secondary
#1F7535
accent
#F9632F
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #340528

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

Preview Lab → · Contrast checker → · Palette generator →

#340528 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva