#340527#340527

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

Color values

HEX#340527
RGBrgb(52, 5, 39)
HSLhsl(317, 82%, 11%)
HSVhsv(317, 90%, 20%)
CMYKcmyk(0%, 90.4%, 25%, 79.6%)
CIE-LABlab(8.87, 26.98, -10.00)
CIE-LCHlch(8.87, 28.78, 339.66°)
OKLaboklab(22.57% 0.0811 -0.0269)
OKLCHoklch(22.57% 0.085 341.6)
XYZxyz(1.8367, 0.9853, 2.0125)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340527 #053412
analogous
#290534 #340527 #34050F
triadic
#340527 #273405 #052734
tetradic
#340527 #342905 #053412 #050F34
square
#340527 #342905 #053412 #050F34
split-complementary
#340527 #0F3405 #053429
monochromatic
#1C0315 #1C0315 #340527 #6C0A51 #A4107B

Accessibility & contrast

On white

17.54
#340527 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340527
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340527#FFFFFF#000000##FFFFFF
##3405271.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340527;
/* rgb */ color: rgb(52, 5, 39);
/* oklch */ color: oklch(22.6% 0.085 341.6);
Tailwind
colors: {
  custom: {
    50: '#6e4a61',
    500: '#340527',
    950: '#000000',
  },
}
SCSS
$custom: #340527;
$custom-light: #6e4a61;
$custom-dark: #000000;
JSON
{
  "hex": "#340527",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 39
  },
  "hsl": {
    "h": 316.596,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22574,
    "c": 0.08541,
    "h": 341.6
  },
  "luminance": 0.00985
}

Semantic roles & 50–950 ramp

primary
#340527
secondary
#1F7537
accent
#F9672F
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070105
muted
#7A7779

Preview Lab

Preview with #340527

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

Preview Lab → · Contrast checker → · Palette generator →

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